packages feed

haskell-language-server-2.7.0.0: plugins/hls-pragmas-plugin/test/testdata/AddLanguagePragma.expected.hs

{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE TupleSections #-}

module NeedsLanguagePragma where

tupleSection = (1,) <$> Just 2

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