Ubuntu linux image described below.
The computers in the lab have virtual box installed, and a few of years ago, Joel Ferrier prepared a nice Ubuntu linux virtual machine disk image containing the software we need.
Tricks for debugging flex and bison
Flex detailed synopsis: https://www.cs.princeton.edu/~appel/modern/c/software/flex/flex.html
Flex man page - https://www.cs.virginia.edu/~cr4bd/flex-manual/
Bison man page - http://www.gnu.org/software/bison/manual/
PATTERNS section of GNU flex man page
Installing in the Ubuntu image:
sudo apt-get install haskell-platform
The ‘textbook’ – Learn You a Haskell for Great Good
GHCI User’s Guide – chapter 2 includes documentation on the debugger
Prelude functions with examples: PreludeTour.pdf (retrieved from http://kodu.ut.ee/~varmo/MFP2004/PreludeTour.pdf 2/9/2016)
Prelude listing with links: https://www.haskell.org/onlinereport/prelude-index.html
The source for all things Haskell - https://www.haskell.org/
https://www.haskell.org/hoogle/ -- Haskell API search engine
https://hackage.haskell.org/ -- central package archive of open source software