1
1
mirror of https://github.com/github/semantic.git synced 2024-12-21 22:01:46 +03:00
semantic/test/fixtures/haskell/corpus/statements.B.hs

9 lines
200 B
Haskell
Raw Normal View History

2018-06-14 02:48:03 +03:00
g = if b then 1 else 2
g = if b; then c; else d
g = if (if b then c else d) then e else f
g = if if b then c else d then e else f
h' :: [a] -> a
h' [] = error "No head for empty lists!"
h' (x:_) = x