From 42c85edb49ff102bfd50d503ecabafd5a3a4cc1b Mon Sep 17 00:00:00 2001 From: Nicolas Lenz <nicolas@eisfunke.com> Date: Sat, 9 Jul 2022 17:43:08 +0200 Subject: [PATCH] Newlines at file ends --- src/12-typeclasses.md | 2 +- src/13-functors.md | 3 +-- src/14-monads.md | 2 +- src/15-project-management.md | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/12-typeclasses.md b/src/12-typeclasses.md index fb1297f..99dfdd7 100644 --- a/src/12-typeclasses.md +++ b/src/12-typeclasses.md @@ -65,4 +65,4 @@ boolify 0 ~> False boolify 1 ~> True boolify [] ~> False boolify [1,2,3,4] ~> True -``` \ No newline at end of file +``` diff --git a/src/13-functors.md b/src/13-functors.md index 8fb5bdb..da34481 100644 --- a/src/13-functors.md +++ b/src/13-functors.md @@ -38,8 +38,7 @@ a = (==2) <$> (*2) <$> [1,2,3] `:i Functor` -→ `Maybe`, `(,) a`, `(->) r` +→ `Maybe`, `(,) a`, `(->) r` **Exercise:** Try around with mapping on `Maybe` and lists. Implement `Functor` for `List`, our own list type. - diff --git a/src/14-monads.md b/src/14-monads.md index 7043583..3a68020 100644 --- a/src/14-monads.md +++ b/src/14-monads.md @@ -62,4 +62,4 @@ main :: IO () main = putStrLn "What is your name?" >>= \_ -> getLine >>= \name -> putStrLn ("Hello " ++ name ++ "!") -``` \ No newline at end of file +``` diff --git a/src/15-project-management.md b/src/15-project-management.md index 83cb1a5..3fe2158 100644 --- a/src/15-project-management.md +++ b/src/15-project-management.md @@ -18,4 +18,4 @@ Install using your package manager, the Windows installer or the command in the ## Important files - `package.yaml` -- `stack.yaml` \ No newline at end of file +- `stack.yaml` -- GitLab