Add options for bare-bones use
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Ambito
- developer-experience, frontend, web-dev
Direzione di ricerca
Start by reading issue #308 and inspecting the existing Try Purescript! menu and code-window flow. Decide whether the project should provide a minimal configuration, an online REPL, or both; done means users can enter simple expressions without first deleting elaborate starter code.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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 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.)
While 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:
- Add a menu option for a minimal code configuration. I supposed there'd need to be a
moduledeclaration, and it would be nice to addimports 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. - 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. - Or both. Best of all worlds.
Thanks.
- Lingua principale
- PureScript
- Stelle
- 121
- Fork
- 51
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di purescript/trypurescript
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
purescript/trypurescript#308 ·
-
Publish as a library Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
purescript/trypurescript#303 · 1 commento ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
purescript/trypurescript#301 · 1 commento · 1 reazione ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
purescript/trypurescript#293 · 7 commenti ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
purescript/trypurescript#269 ·
Tutte le issue di purescript/trypurescript
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
idean3885/claude-ops-agent#521 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
0xMiden/bridge-portal#132 ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
newrelic-experimental/preflight#793 · 1 commento ·
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
babalae/bettergi-scripts-list#3674 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
caddyserver/caddy#8046 ·