guide.elm-lang.org icon indicating copy to clipboard operation
guide.elm-lang.org copied to clipboard

Elm REPL doesn't display types as stated in chapter: Reading Types

Open bobvandenberge opened this issue 6 years ago • 3 comments

  • 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: image

After some investigation I noticed that this was caused by my terminal color scheme. If I select everything I get the expected view: image

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.

bobvandenberge avatar Oct 28 '18 07:10 bobvandenberge

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 avatar Dec 16 '18 18:12 g-io

@g-io If you prefer not to change your color scheme, elm repl --no-colors might help.

seven-two-eight avatar Jan 11 '19 18:01 seven-two-eight

--no-colors is a bit problematic too (solarized dark with iTerm). Without highlighting:

Screenshot 2019-04-16 at 22 08 39

With highlighting:

Screenshot 2019-04-16 at 22 09 07

ogirginc avatar Apr 16 '19 19:04 ogirginc