package tablecloth-native

  1. Overview
  2. Docs

Module Tablecloth.IntSource

Sourceval negate : int -> int

Int.negate 8 = (-8)

Int.negate (-7) = 7

Int.negate 0 = 0

Sourceval isEven : int -> bool

Int.isEven 8 = true

Int.isEven 7 = false

Int.isEven 0 = true

Sourceval is_even : int -> bool
Sourceval isOdd : int -> bool

Int.isOdd 7 = true

Int.isOdd 8 = false

Int.isOdd 0 = false

Sourceval is_odd : int -> bool