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