/livecoding

Content from live coding sessions

Primary LanguageHTML

Live Coding Haskell

This is a collection of small projects related to my livecoding.tv page.

Haskell Resources

Installing Haskell

If you're new to haskell install it with Stack.

Material

  1. Learn You a Haskell, for Great Good
  2. Haskell Programming from first principles
  3. Real World Haskell
  4. Parallel and Concurrent Programming in Haskell
  5. What I Wish I Knew When Learning Haskell

I also recomend the History of Haskell. I think being aware of the design goals and history can be very useful and it's a very easy read.

Videos

Libraries and Search

  1. wiki.haskell.org
  2. guide to extensions
  3. hackage search
  4. hoogle search
  5. hayoo search
  6. stackage search
  7. status haskell.org

Misc Stuff

Package Versioning Policy

Installing Threadscope on Debian

sudo apt-get install libgtk2.0-dev libpango1.0-dev libglib2.0-dev libcairo2-dev
stack install gtk2hs-buildtools
stack install gtk
stack install threadscope

Links and Blog Posts

Blog posts that I want to keep a links to.

Error Handling

Monad Transformers

Cabal Related (old)

Useful excerpts I've run across.

It's considered good style to include a Setup file because it allows users who have the Cabal library but not cabal-install to install the package.

Use 'cabal sandbox add-source path' to add local libraries to a sandbox

an alternative to installing binaries like hlint in the top level 'user' package db would be to build them in there own sandbox and to --symlink-bindir to $HOME/.local/bin

static build

rm -rf dist
cabal clean
cabal sandbox delete
cabal sandbox init
cabal configure --disable-shared --disable-executable-dynamic --ghc-options='-optl-static -optl-pthread'
cabal install --only-dep
cabal build

Not Exactly Haskell

Not at all Haskell