apachejspωiki
  • G’day (anonymous guest)
  • User Preferences Log in
  • Recent Searches
ReReStartingHaskell
Your trail: 
  • ☰
  • ReReStartingHaskell
  • Attach
  • Edit
  • More...
    • View Page Source
    • Show Reader View
    • Recent Changes
      Page Index
      SystemInfo

      UnusedPages
      UndefinedPages

This page (revision-8) was last changed on 12-Nov-2017 17:04 by john  

This page was created on 11-Nov-2017 15:20 by unknown

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

History

Version Date Modified Size Author Changes ... Change note
8 12-Nov-2017 17:04 1 KB john to previous
7 12-Nov-2017 17:04 1 KB john to previous | to last
6 11-Nov-2017 21:09 1 KB john to previous | to last
5 11-Nov-2017 20:57 1 KB john to previous | to last
4 11-Nov-2017 20:53 1 KB john to previous | to last
3 11-Nov-2017 19:54 952 bytes john to previous | to last
2 11-Nov-2017 16:36 687 bytes john to previous | to last
1 11-Nov-2017 15:20 171 bytes unknown to last

Page References

Incoming links Outgoing links
ReReStartingHaskell
  • Haskell
ReReStartingHaskell
  • 2015-09-27-writing-a-simple-haskell-script-from-scratch

Difference

Difference between version and

At line 1 removed 2 lines
11-Nov-2017
At line 13 changed one line
{{putStr}} and {{putStrLn}} for printing to stdout.
{{putStr}} and {{putStrLn}} for printing to stdout. __NOTE:__ This only prints ''strings''. Use {{print}} as a more general-purpose output.
At line 17 changed one line
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.
So... the first problem is adding {{ghc}} to your path in emacs (if you use that editor).
At line 17 added one line
!!! Stack
At line 19 added one line
Actually, a better choice is to install {{stack}}, which managed the entire toolchain for you, kind of like {{npm}} does for Node.
At line 21 changed 2 lines
See [https://docs.haskellstack.org/en/stable/install_and_upgrade/], and [http://haskell.github.io/haskell-mode/manual/latest/Compilation.html]. After that, you should be off to the races.
This page (revision-8) was last changed on 12-Nov-2017 17:04 by john   Top

About
Help
SysInfo

(page = LeftMenu)

Admin

(page = LeftMenuFooter)

JSPWiki v2.10.2  
JSPWiki v2.10.2