
// and :: Bool -> Bool -> Bool

// or :: Bool -> Bool -> Bool

// not :: Bool -> Bool
export const not: Function = (x: any): boolean => !x

// otherwise :: Bool
export const otherwise: boolean = true

// bool :: a -> a -> Bool -> a

@@ -29,38 +29,167 @@
 ool%0A
-%0A// or :: Bool -%3E Bool -%3E Bool
+export const and: Function = (x: any, y: any): boolean =%3E x && y%0A%0A// or :: Bool -%3E Bool -%3E Bool%0Aexport const or: Function = (x: any, y: any): boolean =%3E x %7C%7C y
 %0A%0A//
@@ -355,8 +355,81 @@
 ol -%3E a%0A
+export const bool: Function = (x: any, y: any, p: any): any =%3E p ? y : x%0A

add basic Bool functions