ghc-mod/test-elisp/inp.hs

22 lines
314 B
Haskell
Raw Normal View History

2014-04-23 05:51:02 +00:00
module Main where
test1 :: Int
test2 :: a -> a -> Complex a
test2 = (:+)
test25 :: NFData a => a
test25 = undefined
test3 :: (b -> b -> c) -> (a -> b) -> a -> a -> c
test3 = on
test4 = putStrLn "Bar"
test5 :: [t] -> ()
test5 (_:_) = ()
-- hlint
test6 :: [Integer] -> [Integer]
test6 = map (+ 1) . map (* 2)