on f86e01e help sign in
15 lines 206 B history raw
1{-# LANGUAGE ViewPatterns #-}
3example f (f -> 4) = True
5f (t -> Nothing) = "Nothing"
6f (t -> Just _) = "Just"
8g ((f, _), f -> 4) = True
10multiline
11 ( t ->
12 Foo
13 bar
14 baz
15 ) = True