Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bobvandenberge opened this issue Oct 28, 2018 · 3 comments
Open

Comments

@bobvandenberge
Copy link

  • 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.

@g-io
Copy link

g-io commented Dec 16, 2018

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.

@seven-two-eight
Copy link

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

@ogirginc
Copy link

--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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants