diff options
-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: |