summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/prog002/A1.hs
blob: 069e8ef07a2b537b0223dc879b42977b7887973b (plain)
1
2
3
4
5
6
module A where

data T = A Int | B Float deriving Eq

f :: Double -> Double
f x = x + x