RosettaCodeData/Task/Logical-operations/OCaml/logical-operations.ocaml

5 lines
149 B
Text
Raw Permalink Normal View History

2013-04-10 22:43:41 -07:00
let print_logic a b =
Printf.printf "a and b is %B\n" (a && b);
Printf.printf "a or b is %B\n" (a || b);
Printf.printf "not a is %B\n" (not a)