René's URL Explorer Experiment


Title: Operator sections with identical types type-check differently · Issue #862 · purescript/purescript · GitHub

Open Graph Title: Operator sections with identical types type-check differently · Issue #862 · purescript/purescript

X Title: Operator sections with identical types type-check differently · Issue #862 · purescript/purescript

Description: According to the REPL the type of both (+1) and (1+) are Number->Number. The expression ((1+) <$> (1+)) 1 checks out but ((+1) <$> (+1)) 1 does not. EDIT: I just realized I'm an idiot because let x = (+1) y = (+1) (x <$> y) 1 works. So t...

Open Graph Description: According to the REPL the type of both (+1) and (1+) are Number->Number. The expression ((1+) <$> (1+)) 1 checks out but ((+1) <$> (+1)) 1 does not. EDIT: I just realized I'm an idiot because let x...

X Description: According to the REPL the type of both (+1) and (1+) are Number->Number. The expression ((1+) <$> (1+)) 1 checks out but ((+1) <$> (+1)) 1 does not. EDIT: I just realized I'm an ...

Opengraph URL: https://github.com/purescript/purescript/issues/862

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Operator sections with identical types type-check differently","articleBody":"According to the REPL the type of both `(+1)` and `(1+)` are `Number->Number`.\nThe expression `((1+) \u003c$> (1+)) 1` checks out but `((+1) \u003c$> (+1)) 1` does not.\n\nEDIT: I just realized I'm an idiot because\n\n```\nlet x = (+1)\n    y = (+1)\n(x \u003c$> y) 1\n```\n\nworks.\nSo this is some parsing bug, I think.\nOr it's not correctly inferring the Functor instance for (+1)\n","author":{"url":"https://github.com/badly-drawn-wizards","@type":"Person","name":"badly-drawn-wizards"},"datePublished":"2015-02-11T09:32:43Z","url":"https://github.com/purescript/purescript/issues/862"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:f5b4fc59-3371-93c8-615e-d542a25b1196
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA42A:1F7384:A9B522:E1EFC8:6B00EB86
html-safe-nonce105dcfb99629a4094ef020cc470cafe71c98ebd33ff67bb4876b5e3f7f8ff789
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNDJBOjFGNzM4NDpBOUI1MjI6RTFFRkM4OjZCMDBFQjg2IiwidmlzaXRvcl9pZCI6IjEwMzMzMDk0MDczOTc2MDQyMzAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac70d82ecfe68ffbce94e1b33066c0c5eeb16786428757b8e7ad15406a8f5113cf
hovercard-subject-tagissue:57293272
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/purescript/purescript/862/issue_layout
twitter:imagehttps://opengraph.githubassets.com/e91e992d3bc643229e1779e2382c1ec38c182a4c1911921cfa0b580a92435a62/purescript/purescript/issues/862
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e91e992d3bc643229e1779e2382c1ec38c182a4c1911921cfa0b580a92435a62/purescript/purescript/issues/862
og:image:altAccording to the REPL the type of both (+1) and (1+) are Number->Number. The expression ((1+) <$> (1+)) 1 checks out but ((+1) <$> (+1)) 1 does not. EDIT: I just realized I'm an idiot because let x...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamebadly-drawn-wizards
hostnamegithub.com
expected-hostnamegithub.com
None4ef498cbabcbe3c50befc7a5b743e7072ee770b4daf0e15e54801180d1fa91fc
turbo-cache-controlno-preview
go-importgithub.com/purescript/purescript git https://github.com/purescript/purescript.git
octolytics-dimension-user_id6556677
octolytics-dimension-user_loginpurescript
octolytics-dimension-repository_id13206906
octolytics-dimension-repository_nwopurescript/purescript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id13206906
octolytics-dimension-repository_network_root_nwopurescript/purescript
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release9983dd5da06943f833c971dd5b6bc988e2858be5
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/purescript/purescript/issues/862#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpurescript%2Fpurescript%2Fissues%2F862
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpurescript%2Fpurescript%2Fissues%2F862
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=purescript%2Fpurescript
Reloadhttps://github.com/purescript/purescript/issues/862
Reloadhttps://github.com/purescript/purescript/issues/862
Reloadhttps://github.com/purescript/purescript/issues/862
purescripthttps://github.com/purescript
purescripthttps://github.com/purescript/purescript
Codehttps://github.com/purescript/purescript
Issues280 (280)https://github.com/purescript/purescript/issues
Pull requests28 (28)https://github.com/purescript/purescript/pulls
Actionshttps://github.com/purescript/purescript/actions
Projectshttps://github.com/purescript/purescript/projects
Wikihttps://github.com/purescript/purescript/wiki
Security and qualityhttps://github.com/purescript/purescript/security
Insightshttps://github.com/purescript/purescript/insights
https://github.com/purescript/purescript
New issuehttps://github.com/login?return_to=https://github.com/purescript/purescript/issues/862
New issuehttps://github.com/login?return_to=https://github.com/purescript/purescript/issues/862
Operator sections with identical types type-check differentlyhttps://github.com/purescript/purescript/issues/862#top
new contributorhttps://github.com/purescript/purescript/issues?q=state%3Aopen%20label%3A%22new%20contributor%22
type: bughttps://github.com/purescript/purescript/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%22
typecheckerhttps://github.com/purescript/purescript/issues?q=state%3Aopen%20label%3A%22typechecker%22
0.8.0https://github.com/purescript/purescript/milestone/11
https://github.com/badly-drawn-wizards
badly-drawn-wizardshttps://github.com/badly-drawn-wizards
on Feb 11, 2015https://github.com/purescript/purescript/issues/862#issue-57293272
https://github.com/garyb
garybhttps://github.com/garyb
on Feb 11, 2015https://github.com/purescript/purescript/issues/862#issuecomment-73854910
https://github.com/garyb
garybhttps://github.com/garyb
on Feb 11, 2015https://github.com/purescript/purescript/issues/862#issuecomment-73863887
https://github.com/badly-drawn-wizards
badly-drawn-wizardshttps://github.com/badly-drawn-wizards
on Feb 11, 2015https://github.com/purescript/purescript/issues/862#issuecomment-73866882
https://github.com/garyb
garybhttps://github.com/garyb
on Feb 11, 2015https://github.com/purescript/purescript/issues/862#issuecomment-73867514
@paf31https://github.com/paf31
https://github.com/paf31
paf31https://github.com/paf31
on Feb 11, 2015https://github.com/purescript/purescript/issues/862#issuecomment-73918776
purescript/src/Language/PureScript/TypeChecker/Types.hshttps://github.com/purescript/purescript/blob/7b5cb4b3481d1119509c9a26b4d941919c944e1f/src/Language/PureScript/TypeChecker/Types.hs#L476
7b5cb4bhttps://github.com/purescript/purescript/commit/7b5cb4b3481d1119509c9a26b4d941919c944e1f
paf31https://github.com/paf31
type: bughttps://github.com/purescript/purescript/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%22
new contributorhttps://github.com/purescript/purescript/issues?q=state%3Aopen%20label%3A%22new%20contributor%22
typecheckerhttps://github.com/purescript/purescript/issues?q=state%3Aopen%20label%3A%22typechecker%22
on Feb 11, 2015https://github.com/purescript/purescript/issues/862#event-234068336
paf31https://github.com/paf31
0.7.0https://github.com/purescript/purescript/milestone/9
on Feb 11, 2015https://github.com/purescript/purescript/issues/862#event-234068417
https://github.com/paf31
paf31https://github.com/paf31
on Feb 11, 2015https://github.com/purescript/purescript/issues/862#issuecomment-73921893
https://github.com/davidchambers
davidchambershttps://github.com/davidchambers
on Feb 11, 2015https://github.com/purescript/purescript/issues/862#issuecomment-73930703
https://github.com/paf31
paf31https://github.com/paf31
on Feb 11, 2015https://github.com/purescript/purescript/issues/862#issuecomment-73933187
https://github.com/badly-drawn-wizards
badly-drawn-wizardshttps://github.com/badly-drawn-wizards
on Feb 12, 2015https://github.com/purescript/purescript/issues/862#issuecomment-74061319
https://github.com/paf31
paf31https://github.com/paf31
on Feb 12, 2015https://github.com/purescript/purescript/issues/862#issuecomment-74114386
https://github.com/badly-drawn-wizards
badly-drawn-wizardshttps://github.com/badly-drawn-wizards
on Feb 12, 2015https://github.com/purescript/purescript/issues/862#issuecomment-74128543
https://github.com/paf31
paf31https://github.com/paf31
on Feb 12, 2015https://github.com/purescript/purescript/issues/862#issuecomment-74130444
paf31https://github.com/paf31
0.7.0https://github.com/purescript/purescript/milestone/9
0.8.0https://github.com/purescript/purescript/milestone/11
on Apr 18, 2015https://github.com/purescript/purescript/issues/862#event-284574549
paf31https://github.com/paf31
on Sep 13, 2015https://github.com/purescript/purescript/issues/862#event-408188157
Fix #862https://github.com/purescript/purescript/commit/92f17753d84dc2235aa1a5b37ef7711e0c08f482
#862https://github.com/purescript/purescript/issues/862
https://docs.github.com/articles/closing-issues-via-commit-messages
92f1775https://github.com/purescript/purescript/commit/92f17753d84dc2235aa1a5b37ef7711e0c08f482
paf31https://github.com/paf31
completedhttps://github.com/purescript/purescript/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
92f1775https://github.com/purescript/purescript/commit/92f17753d84dc2235aa1a5b37ef7711e0c08f482
on Sep 14, 2015https://github.com/purescript/purescript/issues/862#event-408965731
paf31https://github.com/paf31
on Sep 14, 2015https://github.com/purescript/purescript/issues/862#event-408965732
Merge pull request #1467 from purescript/862https://github.com/purescript/purescript/commit/a4888d2958447b654f5dc5c08fdd1580132b8550
#1467https://github.com/purescript/purescript/pull/1467
https://docs.github.com/articles/closing-issues-via-commit-messages
a4888d2https://github.com/purescript/purescript/commit/a4888d2958447b654f5dc5c08fdd1580132b8550
Sign up for freehttps://github.com/signup?return_to=https://github.com/purescript/purescript/issues/862
Sign in to commenthttps://github.com/login?return_to=https://github.com/purescript/purescript/issues/862
new contributorhttps://github.com/purescript/purescript/issues?q=state%3Aopen%20label%3A%22new%20contributor%22
type: bughttps://github.com/purescript/purescript/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%22
typecheckerhttps://github.com/purescript/purescript/issues?q=state%3Aopen%20label%3A%22typechecker%22
0.8.0https://github.com/purescript/purescript/milestone/11
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.