1 2 3 4 5 6 7
{-# LANGUAGE LinearTypes #-} {-# LANGUAGE UnicodeSyntax #-} module Linear6 where correctEqn :: Bool ⊸ Int ⊸ Int correctEqn True n = n correctEqn False n = n