diff options
Diffstat (limited to 'provider/posts/beuteltier-2.lhs')
-rw-r--r-- | provider/posts/beuteltier-2.lhs | 2 |
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 | |||
68 | Quite often we find ourselves in the position that we want to alter some small parts of a | 68 | Quite often we find ourselves in the position that we want to alter some small parts of a |
69 | complicated structure. We would therefore like to write the following: | 69 | complicated structure. We would therefore like to write the following: |
70 | 70 | ||
71 | ~~~ {.haskell .numberLines} | 71 | ~~~ {.haskell} |
72 | updateFoo :: Foo -> Monad Foo | 72 | updateFoo :: Foo -> Monad Foo |
73 | updateFoo x = alter x $ do | 73 | updateFoo x = alter x $ do |
74 | bar <~ (constructNewBar :: Monad Bar) | 74 | bar <~ (constructNewBar :: Monad Bar) |