packages feed

hls-pragmas-plugin-1.0.2.0: test/testdata/OptionsGhcAfterDecl.expected.hs

{-# LANGUAGE TupleSections #-}
data Something = Something {
    foo :: !String,
    bar :: !Int
}

tupleSection = (1, ) <$> Just 2

{-# OPTIONS_GHC addOne #-}
addOne :: Int -> Int 
addOne x = x + 1