simplybusiness / haskell-club

Learning a Haskell for great glory (public repo)
MIT License
1 stars 0 forks source link

Haskell Club

The first rule of Haskell Club is that you don't talk about Haskell Club. Or at least, not more than, say, five times a day and for longer than 30 minutes on each occasion.

We haven't decided on rules Two thru Seven

The eighth and final rule is: if it's your first time, you have to drive.

Captain's Log

Installation

You need ghc and cabal

Now you can run

cabal update
cabal sandbox init
cabal install --only-dependencies

Running tests

Maybe do something like this:

[nix-shell:~/src/haskell-club]$ cabal exec -- ghci
GHCi, version 8.0.2: http://www.haskell.org/ghc/  :? for help
Prelude> :l ratings
[1 of 1] Compiling Main             ( ratings.hs, interpreted )
Ok, modules loaded: Main.
*Main> runProps 
+++ OK, passed 100 tests.
+++ OK, passed 100 tests.
+++ OK, passed 100 tests.

Intellectual property / Commercial secrecy warning

Simply Business employees heads-up - this is a public repository. If you want to work with real rating models or other commercially sensitive intellectual property, this repo would be exactly the wrong place to do it.