René's URL Explorer Experiment


Title: Bug in Data.String.Unsafe.char · Issue #36 · purescript/purescript-strings · GitHub

Open Graph Title: Bug in Data.String.Unsafe.char · Issue #36 · purescript/purescript-strings

X Title: Bug in Data.String.Unsafe.char · Issue #36 · purescript/purescript-strings

Description: The js code for Data.String.Unsafe.char looks like this: exports.char = function (s) { if (s.length !== 1) return s.charAt(0); throw new Error("Data.String.Unsafe.char: Expected string of length 1."); }; I'm pretty sure that line on line...

Open Graph Description: The js code for Data.String.Unsafe.char looks like this: exports.char = function (s) { if (s.length !== 1) return s.charAt(0); throw new Error("Data.String.Unsafe.char: Expected string of length 1....

X Description: The js code for Data.String.Unsafe.char looks like this: exports.char = function (s) { if (s.length !== 1) return s.charAt(0); throw new Error("Data.String.Unsafe.char: Expected string of leng...

Opengraph URL: https://github.com/purescript/purescript-strings/issues/36

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Bug in Data.String.Unsafe.char","articleBody":"The js code for [Data.String.Unsafe.char](https://github.com/purescript/purescript-strings/blob/710382eb136b7587062f6ee2e3c8e616018ecabd/src/Data/String/Unsafe.js#L21) looks like this:\n\n``` javascript\nexports.char = function (s) {\n  if (s.length !== 1) return s.charAt(0);\n  throw new Error(\"Data.String.Unsafe.char: Expected string of length 1.\");\n};\n```\n\nI'm pretty sure that line on line 21 that `!==` is meant to be an `===`; atm the function's bugging out for good inputs & vice versa. Should be:\n\n``` javascript\nif (s.length === 1) return s.charAt(0);\n```\n","author":{"url":"https://github.com/stkb","@type":"Person","name":"stkb"},"datePublished":"2015-07-06T17:38:55Z","url":"https://github.com/purescript/purescript-strings/issues/36"}

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:08fe55bb-3bb6-27ed-f9d7-a2baf1ba55ae
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD320:33444D:8C083:BF0E5:6B00B93C
html-safe-noncef25732d8c7642d5d90b349420c7104998d0e961d270614d7582ffc958e27e590
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMzIwOjMzNDQ0RDo4QzA4MzpCRjBFNTo2QjAwQjkzQyIsInZpc2l0b3JfaWQiOiI0NzcwMzA5NjgwODM4Nzg1MzQwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacdb6b0a027d2b5ed8f9580da73b38fe1a7c932d44fd69e6c33ac05843abf3a910
hovercard-subject-tagissue:93334298
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-strings/36/issue_layout
twitter:imagehttps://opengraph.githubassets.com/cf568f2c5177c00d4507077f8b5599f5c5a83caea5d13e2dbe616bb303e30eeb/purescript/purescript-strings/issues/36
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/cf568f2c5177c00d4507077f8b5599f5c5a83caea5d13e2dbe616bb303e30eeb/purescript/purescript-strings/issues/36
og:image:altThe js code for Data.String.Unsafe.char looks like this: exports.char = function (s) { if (s.length !== 1) return s.charAt(0); throw new Error("Data.String.Unsafe.char: Expected string of length 1....
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamestkb
hostnamegithub.com
expected-hostnamegithub.com
None1d07c25977adfc5ff6acb0a962a9bc168c07afbda6fef765f9761c350c2ae4a2
turbo-cache-controlno-preview
go-importgithub.com/purescript/purescript-strings git https://github.com/purescript/purescript-strings.git
octolytics-dimension-user_id6556677
octolytics-dimension-user_loginpurescript
octolytics-dimension-repository_id17881174
octolytics-dimension-repository_nwopurescript/purescript-strings
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id17881174
octolytics-dimension-repository_network_root_nwopurescript/purescript-strings
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
release5429cbfc6aca8c7b9a086a3c8f47400346f38cc9
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/purescript/purescript-strings/issues/36#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpurescript%2Fpurescript-strings%2Fissues%2F36
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-strings%2Fissues%2F36
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-strings
Reloadhttps://github.com/purescript/purescript-strings/issues/36
Reloadhttps://github.com/purescript/purescript-strings/issues/36
Reloadhttps://github.com/purescript/purescript-strings/issues/36
purescripthttps://github.com/purescript
purescript-stringshttps://github.com/purescript/purescript-strings
Codehttps://github.com/purescript/purescript-strings
Issues13 (13)https://github.com/purescript/purescript-strings/issues
Pull requests4 (4)https://github.com/purescript/purescript-strings/pulls
Actionshttps://github.com/purescript/purescript-strings/actions
Security and qualityhttps://github.com/purescript/purescript-strings/security
Insightshttps://github.com/purescript/purescript-strings/insights
https://github.com/purescript/purescript-strings
New issuehttps://github.com/login?return_to=https://github.com/purescript/purescript-strings/issues/36
New issuehttps://github.com/login?return_to=https://github.com/purescript/purescript-strings/issues/36
Bug in Data.String.Unsafe.charhttps://github.com/purescript/purescript-strings/issues/36#top
https://github.com/stkb
stkbhttps://github.com/stkb
on Jul 6, 2015https://github.com/purescript/purescript-strings/issues/36#issue-93334298
Data.String.Unsafe.charhttps://github.com/purescript/purescript-strings/blob/710382eb136b7587062f6ee2e3c8e616018ecabd/src/Data/String/Unsafe.js#L21
https://github.com/stkb
stkbhttps://github.com/stkb
on Jul 6, 2015https://github.com/purescript/purescript-strings/issues/36#issuecomment-118936176
https://github.com/paf31
paf31https://github.com/paf31
on Jul 6, 2015https://github.com/purescript/purescript-strings/issues/36#issuecomment-118938555
garybhttps://github.com/garyb
completedhttps://github.com/purescript/purescript-strings/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
1eca8a1https://github.com/purescript/purescript-strings/commit/1eca8a172e041b0ab9b57b6a0d5a6e30038d62af
on Jul 7, 2015https://github.com/purescript/purescript-strings/issues/36#event-349557895
https://github.com/garyb
garybhttps://github.com/garyb
on Jul 7, 2015https://github.com/purescript/purescript-strings/issues/36#issuecomment-119163921
https://github.com/stkb
stkbhttps://github.com/stkb
on Jul 7, 2015https://github.com/purescript/purescript-strings/issues/36#issuecomment-119197259
Sign up for freehttps://github.com/signup?return_to=https://github.com/purescript/purescript-strings/issues/36
Sign in to commenthttps://github.com/login?return_to=https://github.com/purescript/purescript-strings/issues/36
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.