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
|
2018-06-20 03:37:40 +03:00
|
|
|
|
|
|
|
h' :: [a] -> a
|
|
|
|
h' [] = error "No head for empty lists!"
|
|
|
|
h' (x:_) = x
|