on 4955cdc help sign in
14 lines 203 B history raw
1{-# LANGUAGE ViewPatterns #-}
2example f (f -> 4) = True
4f (t -> Nothing) = "Nothing"
5f (t -> Just _) = "Just"
7g ((f, _), f -> 4) = True
9multiline
10 ( t ->
11 Foo
12 bar
13 baz
14 ) = True