Code Snippets Literate Haskell

Short texts Literate Haskell 🧑‍💻 Code snippets Literate Haskell ✍️ Reading lists Literate Haskell 👀

Code for Exercises from Programming in Haskell by Graham Hutton

—————————- Chapter 1 ————————— > sumList :: [Int] -> Int > sumList [] = 0 > sumList (x:xs) = x + sumList xs > productList :: [Int] -> Int > productList [] = 1 > productList (x:xs) = x * productList xs > qsortReverse ::(Ord a) => [a] -> [a] > qsortReverse [] = [] […]