length l = case l of

		   []   -> 0
		   x:xs -> 1 : length xs

Pattern matching is usually performed in textual order though there are languages which match more specific patterns before less specific ones.

2. Descriptive of a type of language or utility such as awk or Perl which is suited to searching for strings or patterns in input data, usually using some kind of regular expression.

Last updated: 1994-11-28

Nearby terms:

d be transformed to length l = case l ofinput data, usually using some kind of {regular

Try this search on Wikipedia, OneLook, Google


Loading