Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,7 @@
|
|||
if2 :: Bool -> Bool -> a -> a -> a -> a -> a
|
||||
if2 p1 p2 e12 e1 e2 e =
|
||||
if p1 then
|
||||
if p2 then e12 else e1
|
||||
else if p2 then e2 else e
|
||||
|
||||
main = print $ if2 True False (error "TT") "TF" (error "FT") (error "FF")
|
||||
Loading…
Add table
Add a link
Reference in a new issue