packages feed

haskell-language-server-2.7.0.0: plugins/hls-pragmas-plugin/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