11-Nov-2017

Re-re-starting my adventures in Haskell, for no particularly good reason.

Try the first Project Euler problem: [https://projecteuler.net/problem=1]

GitHub repo is here: [https://github.com/JohnL4/ProjectEuler]

...aaaaand, now I have a blank editor in front of me. Now what?

!!! Output

{{putStr}} and {{putStrLn}} for printing to stdout.

See this page: [2015-09-27-writing-a-simple-haskell-script-from-scratch]

So... the first problem is adding {{ghc}} to your path in emacs (if you use that editor).  Turns out emacs on Mac just inherits PATH from some basic Mac setting, not your various {{.profile}}, {{.bash_profile}}, {{.bashrc}}, etc.