Kaya 0.4.4 reference for Builtins::Pattern_Matching_Assignment_Failure

List of functions and data types in Builtins

Builtins::Pattern_Matching_Assignment_Failure()

Usage

This Exception is thrown in a pattern matching assignment if the right hand side of the assignment does not match the pattern given on the left hand side.

testlist = nil;
let cons(x,xs) = testlist; // testlist is nil, not cons
kaya@kayalang.org | Last modified 29 November 2011 | Supported by Durham CompSoc | Powered by Kaya