Looking for better than Dragon Book

I've got the Tiger Book, ML version, which I will use to help me implement Tiger in Haskell. Below is a class curriculum I've found. But besides the Tiger Book, it uses the Dragon Book. I know there are more modern books out there. Looking for suggestions as what might be a good fit. http://cs.nyu.edu/courses/fall13/CSCI-GA.2130-001/

It's not a "book", but there is the Kaleidoscope LLVM tutorial ported to Haskell: https://github.com/sdiehl/kaleidoscope http://www.stephendiehl.com/llvm/ Michael Litchard writes:
I've got the Tiger Book, ML version, which I will use to help me implement Tiger in Haskell. Below is a class curriculum I've found. But besides the Tiger Book, it uses the Dragon Book. I know there are more modern books out there. Looking for suggestions as what might be a good fit.
http://cs.nyu.edu/courses/fall13/CSCI-GA.2130-001/ _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
-- Kyle Marek-Spartz

Hi! I try to use last ghc-mod with stack. In Changelog (https://hackage.haskell.org/package/ghc-mod-5.4.0.0/changelog) I read: * Add support for the Stack build tool And I see new option: --with-stack=PATH stack executable to use So I do: $ ghc-mod --with-stack=/usr/local/bin/stack check src/Main.hs But I got this error: ghc-mod: cabal: readCreateProcess: runInteractiveProcess: exec: does not exist (No such file or directory) I don't understand it. If I specify path to stack - why ghc-mod still try to use cabal-install? And if cabal-install is still required - why is this new option for?? - Denis

In the ANN announcement email [1] it says:
"* Stack support
After countless requests ghc-mod now finally has first class Stack
support. This should mostly Just-Work^TM there is one caveat though if
`dist/setup-config` exists in a Cabal-project directory ghc-mod will
continue
using cabal-install instead of Stack so if you want to use Stack instead
simply remove that file or the whole directory. You also need at least
Stack
version 0.1.4.0 for this to work."
Michał
[1]
https://mail.haskell.org/pipermail/haskell-cafe/2015-September/121412.html
On Fri, Sep 18, 2015 at 11:28 AM, Denis Shevchenko
Hi!
I try to use last ghc-mod with stack. In Changelog ( https://hackage.haskell.org/package/ghc-mod-5.4.0.0/changelog) I read:
* Add support for the Stack build tool
And I see new option:
--with-stack=PATH stack executable to use
So I do:
$ ghc-mod --with-stack=/usr/local/bin/stack check src/Main.hs
But I got this error:
ghc-mod: cabal: readCreateProcess: runInteractiveProcess: exec: does not exist (No such file or directory)
I don't understand it. If I specify path to stack - why ghc-mod still try to use cabal-install? And if cabal-install is still required - why is this new option for??
- Denis
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe

Thank you very much! On 18/09/15 18:36, Michal Antkiewicz wrote:
In the ANN announcement email [1] it says:
"* Stack support
After countless requests ghc-mod now finally has first class Stack support. This should mostly Just-Work^TM there is one caveat though if `dist/setup-config` exists in a Cabal-project directory ghc-mod will continue using cabal-install instead of Stack so if you want to use Stack instead simply remove that file or the whole directory. You also need at least Stack version 0.1.4.0 for this to work."
Michał
[1] https://mail.haskell.org/pipermail/haskell-cafe/2015-September/121412.html
On Fri, Sep 18, 2015 at 11:28 AM, Denis Shevchenko
mailto:haskell@dshevchenko.biz> wrote: Hi!
I try to use last ghc-mod with stack. In Changelog (https://hackage.haskell.org/package/ghc-mod-5.4.0.0/changelog) I read:
* Add support for the Stack build tool
And I see new option:
--with-stack=PATH stack executable to use
So I do:
$ ghc-mod --with-stack=/usr/local/bin/stack check src/Main.hs
But I got this error:
ghc-mod: cabal: readCreateProcess: runInteractiveProcess: exec: does not exist (No such file or directory)
I don't understand it. If I specify path to stack - why ghc-mod still try to use cabal-install? And if cabal-install is still required - why is this new option for??
- Denis
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org mailto:Haskell-Cafe@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
participants (4)
-
Denis Shevchenko
-
Kyle Marek-Spartz
-
Michael Litchard
-
Michal Antkiewicz