packages feed

haskell-language-server-2.7.0.0: plugins/hls-change-type-signature-plugin/test/testdata/TLocalBindingShadow1.hs

module TLocalBindingShadow1 where

import Control.Monad (forM)

local :: Int -> Int
local x = let test :: Int -> Int
              test = (+2)
          in test x

test :: [Double] -> Double
test = forM