on f86e01e help sign in
12 lines 220 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 (t -> Foo
11 bar
12 baz) = True