on d02483a help sign in
15 lines 282 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
14-- https://github.com/tweag/ormolu/issues/343
15foo = (f -> 4)