diff --git a/README.md b/README.md index 79ba83a..f5c9653 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ Chapter Code Examples: * [29-ghc/ ](https://github.com/sdiehl/wiwinwlh/tree/master/src/29-ghc/) * [30-languages/ ](https://github.com/sdiehl/wiwinwlh/tree/master/src/30-languages/) * [31-template-haskell/ ](https://github.com/sdiehl/wiwinwlh/tree/master/src/31-template-haskell/) -* [32-template-haskell/ ](https://github.com/sdiehl/wiwinwlh/tree/master/src/32-cryptography/) +* [32-cryptography ](https://github.com/sdiehl/wiwinwlh/tree/master/src/32-cryptography/) * [33-categories/ ](https://github.com/sdiehl/wiwinwlh/tree/master/src/33-categories/) Contributing diff --git a/resources/page.latex b/resources/page.latex index 47eaaaf..9d8f636 100644 --- a/resources/page.latex +++ b/resources/page.latex @@ -1,4 +1,5 @@ \documentclass[$if(fontsize)$$fontsize$,$endif$$if(lang)$$babel-lang$,$endif$$if(papersize)$$papersize$paper,$endif$$for(classoption)$$classoption$$sep$,$endfor$]{$documentclass$} +\usepackage[top=1cm, bottom=1.25cm, left=1cm, right=1cm]{geometry} $if(fontfamily)$ \usepackage[$for(fontfamilyoptions)$$fontfamilyoptions$$sep$,$endfor$]{$fontfamily$} $else$ diff --git a/tutorial.md b/tutorial.md index 9f80048..3ff7896 100644 --- a/tutorial.md +++ b/tutorial.md @@ -1863,14 +1863,12 @@ and then the next ``putStrLn`` is executed. ```haskell main :: IO () main = putStrLn "Vesihiisi sihisi hississäään." >>= - \_ -> putStrLn "Or in English: 'The water devil was hissing - in her elevator'." + \_ -> putStrLn "Or in English: 'The water devil was hissing in her elevator'." -- Sugared code, written with do notation main :: IO () main = do putStrLn "Vesihiisi sihisi hississäään." - putStrLn "Or in English: 'The water devil was hissing in her - elevator'." + putStrLn "Or in English: 'The water devil was hissing in her elevator'." ``` Another useful function is ``getLine`` which has type ``IO String``. This @@ -4121,6 +4119,15 @@ Foundation TODO +~~~~ {.haskell include="src/06-prelude/foundation.hs"} +~~~~ + +**Strings and Bytearrays** + +**Container Interface** + +**Numerical Tower** + See: [Foundation](https://github.com/haskell-foundation/foundation)