Tentative Agenda for the evening:
- Introductions around the group
- Segment 1: Installations. Break into smaller groups based on OS.
- Segment 2: Projects. Select one of 3 tracks
Please bring:
- wifi enabled laptop
Links
Tentative Agenda for the evening:
Please bring:
Links
| # A list of common commands | |
| # Finding out version of Haskell Compiler | |
| ghc --version | |
| # List packages installed | |
| # GHC Package manager | |
| ghc-pkg | |
| # Unregister packages | |
| # blow away packages | |
| rm -fr ~/.ghc | |
| # Caball installation location | |
| ~/.cabal/bin |
| #Install Haskell Platform | |
| #Go here: http://www.haskell.org/platform/ | |
| #Ubuntu: sudo apt-get install haskell-platform | |
| Update cabal | |
| cabal update | |
| sudo cabal install —global Cabal cabal-install | |
| cabal —version | |
| # Should show 1.18 or higher | |
| # Might need to restart terminal | |
| # Set up your project | |
| mkdir helloworld | |
| cabal init | |
| # Answer the questions - the default answers are fine | |
| # When prompted to choose ‘library’ or ‘executable’, choose executable | |
| # Add this line to the end of the resulting .cabal file, under the ‘executable’ section | |
| # main-is: Main.hs | |
| cabal sandbox init | |
| # Create this file Main.hs | |
| # main = putStrLn "Hello, world!" | |
| cabal install | |
| run | |
| cabal install | |
| cabal repl | |