Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Correct insert's type signature
  • Loading branch information
Julien Cretel committed Jun 6, 2015
1 parent e589913 commit ae6a885
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zurihac-2015/slides.md
Expand Up @@ -387,7 +387,7 @@ Functions that would otherwise be strict might be made lazy by the
data Tree = Leaf
| Bin Key !Value !Tree !Tree
insert :: Key -> Value -> Tree
insert :: Key -> Value -> Tree -> Tree
insert k v Leaf = Bin k v Leaf Leaf -- lazy in @k@
insert k v (Bin k' v' l r)
| k < k' = ...
Expand Down

0 comments on commit ae6a885

Please sign in to comment.