Title: Rename "error"? · Issue #8 · purescript/purescript-exceptions · GitHub
Open Graph Title: Rename "error"? · Issue #8 · purescript/purescript-exceptions
X Title: Rename "error"? · Issue #8 · purescript/purescript-exceptions
Description: While working on purescript-batteries, I ran into a collision between Control.Monad.Eff.Exception.error and Control.Monad.Eff.Console.error. I think people are more likely to mean Console.error than Exception.error when they just say err...
Open Graph Description: While working on purescript-batteries, I ran into a collision between Control.Monad.Eff.Exception.error and Control.Monad.Eff.Console.error. I think people are more likely to mean Console.error tha...
X Description: While working on purescript-batteries, I ran into a collision between Control.Monad.Eff.Exception.error and Control.Monad.Eff.Console.error. I think people are more likely to mean Console.error tha...
Opengraph URL: https://github.com/purescript/purescript-exceptions/issues/8
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Rename \"error\"?","articleBody":"While working on [purescript-batteries](https://github.com/tfausak/purescript-batteries), I ran into a collision between `Control.Monad.Eff.Exception.error` and `Control.Monad.Eff.Console.error`. I think people are more likely to mean `Console.error` than `Exception.error` when they just say `error`. \n\nI'm not sure what else I would call it, though. Maybe `toError`? Or perhaps there could be a `throw :: String -> Eff (err :: EXCEPTION | e) a` function, which would sidestep `error` and `throwException`. \n\nObviously this isn't a problem with this package per se. I could (and may) address this in purescript-batteries. But I wanted to open an issue here for discussion. \n","author":{"url":"https://github.com/tfausak","@type":"Person","name":"tfausak"},"datePublished":"2015-10-27T14:35:55Z","url":"https://github.com/purescript/purescript-exceptions/issues/8"}
| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ef4594cb-4afd-5817-3977-ddc5ba27d419 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E242:2652DC:104A2F5:14F02A9:6B01026C |
| html-safe-nonce | 280e36c620015f9918214bb0794676bff164170e73e8bb1f06db96bbcc988f64 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMjQyOjI2NTJEQzoxMDRBMkY1OjE0RjAyQTk6NkIwMTAyNkMiLCJ2aXNpdG9yX2lkIjoiODU2NjY0OTc0MjEzMjU3Njg3NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 0f1e07213dc0cb0b775050d0717cec751a984056068f624d741c2b1a942481a9 |
| hovercard-subject-tag | issue:113598011 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/purescript/purescript-exceptions/8/issue_layout |
| twitter:image | https://opengraph.githubassets.com/690226222ab561d75920b56f5b99f37baa88fe893d8b33fca5c080d37b2ce347/purescript/purescript-exceptions/issues/8 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/690226222ab561d75920b56f5b99f37baa88fe893d8b33fca5c080d37b2ce347/purescript/purescript-exceptions/issues/8 |
| og:image:alt | While working on purescript-batteries, I ran into a collision between Control.Monad.Eff.Exception.error and Control.Monad.Eff.Console.error. I think people are more likely to mean Console.error tha... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tfausak |
| hostname | github.com |
| expected-hostname | github.com |
| None | cb7fa109eca7d4156c889f474306b0e91336055e9adf8fd4684b61e49094d124 |
| turbo-cache-control | no-preview |
| go-import | github.com/purescript/purescript-exceptions git https://github.com/purescript/purescript-exceptions.git |
| octolytics-dimension-user_id | 6556677 |
| octolytics-dimension-user_login | purescript |
| octolytics-dimension-repository_id | 17921509 |
| octolytics-dimension-repository_nwo | purescript/purescript-exceptions |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 17921509 |
| octolytics-dimension-repository_network_root_nwo | purescript/purescript-exceptions |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 2b59d31a4e44f08b7af67a4b67f8fd0af3befe2a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width