blob: a1486bc1b265fc2d8a5b199eeb425996fc3db440 (
plain)
1
2
3
4
5
6
7
|
{-# LANGUAGE PartialTypeSignatures #-}
module AddAndOr3 where
addAndOr3 :: _ -> _ -> _
addAndOr3 (a, b) (c, d) = (a `plus` d, b || c)
where plus :: Int -> Int -> Int
x `plus` y = x + y
|