Add options for bare-bones use
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 5/5
- Tempo estimado
- Mais de uma semana
- Facilidade para iniciantes
- 25/100
- Tipo de issue
- Funcionalidade
- Clareza
- Precisa de esclarecimento
- Status de atividade
- Estagnada
- Domínio
- developer-experience, frontend, web-dev
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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.
- Linguagem predominante
- PureScript
- Estrelas
- 121
- Forks
- 51
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de purescript/trypurescript
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 35/100
purescript/trypurescript#308 ·
-
Publish as a library Aberta
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 25/100
purescript/trypurescript#303 · 1 comentário ·
-
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 25/100
purescript/trypurescript#301 · 1 comentário · 1 reação ·
-
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 35/100
purescript/trypurescript#293 · 7 comentários ·
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 35/100
purescript/trypurescript#269 ·
Todas as issues de purescript/trypurescript
Issues semelhantes
-
kaliscan.com AbertaN: AdGuard for iOS P3: Medium T: Ads
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
AdguardTeam/AdguardFilters#242501 ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 84/100
-
[BUG] createTool tools cannot be registered with Mastra when exactOptionalPropertyTypes is enabled Abertacustomer-eng status: needs triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 84/100
-
add-toolnames MCP Toolnames Toolnames checkup
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
rajbos/ai-engineering-fluency#2190 · 3 comentários ·
-
enhancement
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
gajus/eslint-plugin-jsdoc#1776 · 1 reação ·