summaryrefslogtreecommitdiff
path: root/haskell/composition.html
diff options
context:
space:
mode:
authorTom Smeding <tom@tomsmeding.com>2021-08-15 23:16:03 +0200
committerTom Smeding <tom@tomsmeding.com>2021-08-15 23:16:03 +0200
commit85ffc2927b0eb5daedcd5a1c455518e985aed526 (patch)
tree002b3467136dd44b4c86e1fbccabe3fa7e26f9ca /haskell/composition.html
parent32617e00f49c2259bf99767c1f658691bc7fa20e (diff)
Add beginners note to haskell/composition
Diffstat (limited to 'haskell/composition.html')
-rw-r--r--haskell/composition.html1
1 files changed, 1 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 -&gt; Int