package colibrics

  1. Overview
  2. Docs

Source file utils__extstd__Bool.ml

1
2
3
4
5
6
7
8
9
10
let andb' (x: bool) (y: bool) : bool =
  match x with
  | true -> y
  | false -> false

let eqb (x: bool) (y: bool) : bool =
  match (x, y) with
  | ((true, true) | (false, false)) -> true
  | _ -> false