diff options
author | Tom Smeding <tom@tomsmeding.com> | 2021-08-15 23:16:03 +0200 |
---|---|---|
committer | Tom Smeding <tom@tomsmeding.com> | 2021-08-15 23:16:03 +0200 |
commit | 85ffc2927b0eb5daedcd5a1c455518e985aed526 (patch) | |
tree | 002b3467136dd44b4c86e1fbccabe3fa7e26f9ca /haskell | |
parent | 32617e00f49c2259bf99767c1f658691bc7fa20e (diff) |
Add beginners note to haskell/composition
Diffstat (limited to 'haskell')
-rw-r--r-- | haskell/composition.html | 1 | ||||
-rw-r--r-- | haskell/composition.md | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/haskell/composition.html b/haskell/composition.html index 27d8648..d1d4afc 100644 --- a/haskell/composition.html +++ b/haskell/composition.html @@ -1,4 +1,5 @@ <h2>Function composition in Haskell</h2> +<p>(This post is intended for for Haskell beginners.)</p> <p>In Haskell, the dot operator <code>(.)</code>, written infix like <code>f . g</code>, is <em>function composition</em>. For example, suppose you have two functions:</p> <pre><code class="language-haskell">addone :: Int -> Int diff --git a/haskell/composition.md b/haskell/composition.md index aadb6c3..f6754a5 100644 --- a/haskell/composition.md +++ b/haskell/composition.md @@ -1,5 +1,7 @@ ## Function composition in Haskell +(This post is intended for for Haskell beginners.) + In Haskell, the dot operator `(.)`, written infix like `f . g`, is _function composition_. For example, suppose you have two functions: |