List Patterns

List Patterns

isEmpty :: forall a. [a] -> Boolean
isEmpty []     = true
isEmpty [x|xs] = false