Guides To Programming
Haskell
- Key Commands that are of use
-
ghci
The Haskell Interpreter, good for experimenting with small bits of code
-
ghc
The Haskell Compiler
-
ghc --make <filename.hs>
This is the line you will find yourself typing all the time to do a full build of a program, it will link and recompile all required libraries and additional files you have imported.
-
ghc -O2 --make <filename.hs>
Like above, but with automatic optimisations by the compiler.
-
ghc -O2 -lglut --make <filename.hs>
Like above, but adding the library for OpenGL, I expect you to need this.
-
- Haskell (my revision notes from my course as an undergraduate, I should warn you my spelling is not great, and I never spell checked these)
- HOpenGL (my notes, created as I experimented)
- Some quite simple Haskell, but I have had some frustrating experiences trying to do some of this stuff
- Template Haskell