From 99891f6982d25adfe64eaac2b4dbf146e6bfcb42 Mon Sep 17 00:00:00 2001 From: Tom Smeding Date: Sat, 27 May 2023 21:26:54 +0200 Subject: Fix spelling Thanks Daniel :) --- haskell/composition.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'haskell/composition.html') diff --git a/haskell/composition.html b/haskell/composition.html index 1d3d013..3772492 100644 --- a/haskell/composition.html +++ b/haskell/composition.html @@ -1,5 +1,5 @@

Function composition in Haskell

-

(This post is intended for for Haskell beginners.)

+

(This post is intended for Haskell beginners.)

In Haskell, the dot operator (.), written infix like f . g, is function composition. For example, suppose you have two functions:

addone :: Int -> Int
-- 
cgit v1.2.3-54-g00ecf