blob: a7b6bf95e0915217f30a91838677d1de36bad0e2 (
plain)
1
2
3
4
5
6
7
8
9
|
{-# LANGUAGE LinearTypes #-}
{-# LANGUAGE UnicodeSyntax #-}
{-# LANGUAGE LambdaCase #-}
module Linear8 where
correctLCase :: Int ⊸ Bool -> Int
correctLCase n = \case
True -> n
False -> n
|