Add options for bare-bones use
還沒有人認領這個 Issue。
評估
- 難度
- 5/5
- 預估耗時
- 一週以上
- 新手友好度
- 25/100
- Issue 類型
- 功能
- 描述清晰度
- 需要釐清
- 活躍度
- 停滯
研究方向
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.
由索引模型根據 Issue 內容生成。
描述
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.
- 主要語言
- PureScript
- 星號
- 121
- 分支
- 51
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 沒有貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
purescript/trypurescript 的其他 Issue
-
難度 4/5 3-5 天 新手友好度 35/100
purescript/trypurescript#308 ·
-
難度 5/5 一週以上 新手友好度 25/100
purescript/trypurescript#303 · 1 則留言 ·
-
難度 5/5 一週以上 新手友好度 25/100
purescript/trypurescript#301 · 1 則留言 · 1 個 reaction ·
-
難度 3/5 1-2 天 新手友好度 35/100
purescript/trypurescript#293 · 7 則留言 ·
-
難度 4/5 3-5 天 新手友好度 35/100
purescript/trypurescript#269 ·
查看 purescript/trypurescript 的全部 Issue
相似的 Issue
-
ci hacktoberfest help wanted size/small type/bug type/docs type/enhancement up-for-grabs
難度 2/5 1-3 小時 新手友好度 88/100
Redo-San/RedoSan-Authenticity#527 ·
維護者通常 1 天內回覆
-
skillfs: one malformed chat-log line aborts the entire skill-usage analysis (skill_usage_from_chat_logs.py)可能已有人在做 @zjncs 今天認領。 未關閉component:skillfs
難度 2/5 1-3 小時 新手友好度 82/100
agentic-os-org/ANOLISA#6116 · 1 則留言 ·
維護者通常 1 天內回覆
-
kwok: shared-cluster runs leak kube-system releases between recipes, failing inventory read-back未關閉area/tests theme/ci-dx
難度 2/5 1-3 小時 新手友好度 74/100
維護者通常 1 天內回覆
-
bug
難度 2/5 1-3 小時 新手友好度 84/100
維護者通常 1 天內回覆
-
ai-inspected
難度 2/5 1-3 小時 新手友好度 84/100
維護者通常 1 天內回覆