You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 23, 2018. It is now read-only.
Hello! Thanks for the amazing project.
However shortly after starting to learn Elm I encountered something that felt like a small turn-off. Namely that I cannot 'explore' the system 'from within'.
Steps to reproduce
Fire up REPL. Type one of the first examples from the guide: List.reverse ["Alice","Bob"]
Have a question, "What else I can do with lists?" (which is natural)
Try inspect List or something, ask for help in Slack, realize that "there's no way". No way to see what can I do with lists.
I understand that there's the documentation. But please understand that the system will not feel explorable and therefore friendly while there's no way to 'inspect' things 'from within'. For people coming from Javascript with our console.log, util.inspect, etc. that definitely doesn't feel like a promising start 😊
I apologize if Github issues is a wrong place to provide such a feedback.
The text was updated successfully, but these errors were encountered:
Elixir does this with a function h fn that displays documentation embedded in the comments for fn, which are also the source of the HTML docs. As an example:
Elm's HTML documentation is also built from comments, so perhaps this could be implemented the same way. Elm-REPL is written in Haskell, and I don't know Haskell (yet) -- can anyone who does comment on the viability/desirability of this being implemented there?
While the HTML package docs are easy to search, this is a nice convinence. Perhaps made slightly less so by the fact using elm-oracle you can look up docs right from your editor. However REPL's a nice tools for trying out something quickly and exploring for a good solution as you try to understand things.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello! Thanks for the amazing project.
However shortly after starting to learn Elm I encountered something that felt like a small turn-off. Namely that I cannot 'explore' the system 'from within'.
Steps to reproduce
List.reverse ["Alice","Bob"]
inspect List
or something, ask for help in Slack, realize that "there's no way". No way to see what can I do with lists.I understand that there's the documentation. But please understand that the system will not feel explorable and therefore friendly while there's no way to 'inspect' things 'from within'. For people coming from Javascript with our
console.log
,util.inspect
, etc. that definitely doesn't feel like a promising start 😊I apologize if Github issues is a wrong place to provide such a feedback.
The text was updated successfully, but these errors were encountered: