RosettaCodeData/Task/Variables/Haskell/variables-3.hs

5 lines
106 B
Haskell
Raw Permalink Normal View History

2013-04-11 01:07:29 -07:00
funkshun True x = x + 1
funkshun False x = x - 1
foobar = funkshun True 5 + funkshun False 5 -- 6 + 4