summaryrefslogtreecommitdiff
path: root/provider/posts/beuteltier-2.lhs
diff options
context:
space:
mode:
Diffstat (limited to 'provider/posts/beuteltier-2.lhs')
-rw-r--r--provider/posts/beuteltier-2.lhs2
1 files changed, 1 insertions, 1 deletions
diff --git a/provider/posts/beuteltier-2.lhs b/provider/posts/beuteltier-2.lhs
index d5e0294..137b8de 100644
--- a/provider/posts/beuteltier-2.lhs
+++ b/provider/posts/beuteltier-2.lhs
@@ -68,7 +68,7 @@ mostly of the canonical invocations of
68Quite often we find ourselves in the position that we want to alter some small parts of a 68Quite often we find ourselves in the position that we want to alter some small parts of a
69complicated structure. We would therefore like to write the following: 69complicated structure. We would therefore like to write the following:
70 70
71~~~ {.haskell .numberLines} 71~~~ {.haskell}
72updateFoo :: Foo -> Monad Foo 72updateFoo :: Foo -> Monad Foo
73updateFoo x = alter x $ do 73updateFoo x = alter x $ do
74 bar <~ (constructNewBar :: Monad Bar) 74 bar <~ (constructNewBar :: Monad Bar)