This is the code repository for Haskell High Performance Programming By Packt. It contains all the supporting project files necessary to work through the book from start to finish.
All of the code is organized into folders. Each folder starts with number followed by the application name. For example, Chapter02.
You will see code something similar to the following:
class Some a where
next :: a -> a -> a
instance Some Double where
next a b = (a + b) / 2
goGeneral :: Some a => Int -> a -> a
goGeneral 0 x = x
goGeneral n x = goGeneral (n-1) (next x x)
Software and Hardware List
Chapter | Software required | OS required |
---|---|---|
1 to 14 | GHC >= 7.6 | Windows |
4 | Haskell Stack tool | Windows |
11 | CUDA-enabled system | Windows |
Click here if you have any feedback or suggestions.