Why isn't this true/false implication function working in SML?
val implies = fn x y = case x of false andalso case y of false => true | fn x y = case x of false andalso case y of true => true | fn x y = case x of true andalso case y of false => false | fn x y = case x of true andalso case y of true => true; I can't get this to compile. I'm relatively new to SML so not quite getting the general language and syntax. What have I done wrong?
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.