add match() function for pattern matching
add match() function for pattern matching

raises an error when given function is not with cases.

example:
  match(x) {
   case 1 -> print(true)
   case 0 -> print(false)
  }

matz/streem,matz/streem