blob: 6a89467b90b89a9b65d55ccfe8802eaf6dc26369 (
plain)
1
2
3
4
5
6
7
8
9
|
Linear7.hs:7:16: error: [GHC-18872]
• Couldn't match type ‘Many’ with ‘One’
arising from multiplicity of ‘n’
• In an equation for ‘incorrectLCase’:
incorrectLCase n
= \case
True -> n
False -> 0
|