{-# LANGUAGE TupleSections,TypeFamilies #-} {-# LANGUAGE PatternGuards,ScopedTypeVariables #-} module AnnotationTuple (foo) where { import qualified Data.List as DL ; foo = let a = 1 b = 2 in a + b ; bar = print $ map (1, "hello" , 6.5,, [5, 5, 6, 7]) [Just (), Nothing] ; baz = (1, "hello", 6.5,,,,) 'a' (Just ()) ; data family GMap k :: * -> * ; match n | Just 5 <- Just n , Just 6 <- Nothing , Just 7 <- Just 9 = Just 8 ; boo :: Int = 3 } -- Note: the trailing whitespace in this file is used to check that we -- have an annotation for it.