guide.elm-lang.org
guide.elm-lang.org copied to clipboard
Elm REPL doesn't display types as stated in chapter: Reading Types
- My programming background is software engineer
- I want to learn Elm because it looks like an awesome language to have in my toolbox
- I am confused that in the chapter
Reading Types
it states that the Elm REPL shows you what type a certain variable is. When I ran these examples, I don't see any output, I saw:
After some investigation I noticed that this was caused by my terminal color scheme. If I select
everything I get the expected view:
Not sure if this is a 'issue' or not but it might confuse people who start with elm. I also wasn't sure whether or not this issue should be part of this repository or the 'elm/compiler' so please feel free to move it if necessary.
Got the same issue. Thanks for pointing to the color scheme, that hadn't occurred to me. I'm running my terminal on some solarized dark color scheme. Turning to a light color profile helped.
@g-io If you prefer not to change your color scheme, elm repl --no-colors
might help.
--no-colors
is a bit problematic too (solarized dark with iTerm). Without highlighting:

With highlighting:
