Title: Add options for bare-bones use · Issue #309 · purescript/trypurescript · GitHub
Open Graph Title: Add options for bare-bones use · Issue #309 · purescript/trypurescript
X Title: Add options for bare-bones use · Issue #309 · purescript/trypurescript
Description: Try Purescript! is similar to many other tools online (examples: https://ocaml.org/play, https://jsfiddle.net, https://vega.github.io/editor/#), with a code window on one side and and output window on the other. The issue: However, Try P...
Open Graph Description: Try Purescript! is similar to many other tools online (examples: https://ocaml.org/play, https://jsfiddle.net, https://vega.github.io/editor/#), with a code window on one side and and output window...
X Description: Try Purescript! is similar to many other tools online (examples: https://ocaml.org/play, https://jsfiddle.net, https://vega.github.io/editor/#), with a code window on one side and and output window...
Opengraph URL: https://github.com/purescript/trypurescript/issues/309
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add options for bare-bones use","articleBody":"Try Purescript! is similar to many other tools online (examples: https://ocaml.org/play, https://jsfiddle.net, https://vega.github.io/editor/#), with a code window on one side and and output window on the other. \r\n\r\nThe issue: However, Try Purescript! starts with an elaborate menu, so if a user wants to just try out a few expressions, they have to delete a bunch of text in the code window, first, or select an option from the menu with little code, and then delete the resulting code. (Issue #308 is relevant.)\r\n\r\nWhile it definitely a nice feature to include a set of preloaded code examples (!), it would also be nice to be able to enter simple expressions and see what happens. Options:\r\n- Add a menu option for a minimal code configuration. I supposed there'd need to be a `module` declaration, and it would be nice to add `import`s for modules that would include the sorts of functions that would be included in a Haskell, Idris, etc. prelude. This seems like an easy solution.\r\n- Add a separate online REPL, like the ones at https://www.haskell.org or https://tryclojure.org. This is would be nice. It avoids the need to deal with `main`, `do`, etc., which many books and tutorials for Haskell-like languages (including _Purescript by Example_) avoid early on. If Purescript offered an online REPL, it would be good to preload a set of standard prelude-like modules. Otherwise the experience could be frustrating for a user with even minor familiarity with another Haskell-like language.\r\n- Or both. Best of all worlds.\r\n\r\nThanks.","author":{"url":"https://github.com/mars0i","@type":"Person","name":"mars0i"},"datePublished":"2023-05-08T00:59:00Z","url":"https://github.com/purescript/trypurescript/issues/309"}
| 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:bd1b59b4-b289-7bcc-7332-3f0b027cc7a1 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BEF6:31222B:AB6A54:ECD37F:6AFBE13D |
| html-safe-nonce | c7a23be38d5c8df61830432f54e8a99ebe5490a0f0992f438f92a8f3b5c900cc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRUY2OjMxMjIyQjpBQjZBNTQ6RUNEMzdGOjZBRkJFMTNEIiwidmlzaXRvcl9pZCI6IjY2NDQwNDM1OTgxMzM5Nzc0MDUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a3a99db9a0e07f6992e9bd3728da6b3aff94aaa52a6fe9bd13639cffa9740cbe |
| hovercard-subject-tag | issue:1699328874 |
| 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/trypurescript/309/issue_layout |
| twitter:image | https://opengraph.githubassets.com/aa2172197c8d06c7eb6949e9f47e9b78708decb19897db560b6e702003c095c5/purescript/trypurescript/issues/309 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/aa2172197c8d06c7eb6949e9f47e9b78708decb19897db560b6e702003c095c5/purescript/trypurescript/issues/309 |
| og:image:alt | Try Purescript! is similar to many other tools online (examples: https://ocaml.org/play, https://jsfiddle.net, https://vega.github.io/editor/#), with a code window on one side and and output window... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mars0i |
| hostname | github.com |
| expected-hostname | github.com |
| None | 744d4381b1c4dbd6d8736c7d7e5bbe7dc11217584e457a3555020c631764e8ec |
| turbo-cache-control | no-preview |
| go-import | github.com/purescript/trypurescript git https://github.com/purescript/trypurescript.git |
| octolytics-dimension-user_id | 6556677 |
| octolytics-dimension-user_login | purescript |
| octolytics-dimension-repository_id | 14093432 |
| octolytics-dimension-repository_nwo | purescript/trypurescript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 14093432 |
| octolytics-dimension-repository_network_root_nwo | purescript/trypurescript |
| 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 | df859c48a4c8b4c0009c19bb4e82101aacb4b998 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width