Commit 96962829 authored by Ben Price's avatar Ben Price Committed by Ömer Sinan Ağacan
Browse files

user's guide: typo in ViewPatterns example

parent 66772351
......@@ -743,7 +743,7 @@ follows:
view pattern expression are in scope. For example: ::
 
example :: Maybe ((String -> Integer,Integer), String) -> Bool
example Just ((f,_), f -> 4) = True
example (Just ((f,_), f -> 4)) = True
 
Additionally, in function definitions, variables bound by matching
earlier curried arguments may be used in view pattern expressions
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment