summaryrefslogtreecommitdiff
path: root/haskell
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
parent32617e00f49c2259bf99767c1f658691bc7fa20e (diff)
Add beginners note to haskell/composition
Diffstat (limited to 'haskell')
-rw-r--r--haskell/composition.html1
-rw-r--r--haskell/composition.md2
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 -&gt; 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: