
22 Oct
2001
22 Oct
'01
3:50 a.m.
Marcin 'Qrczak' Kowalczyk wrote:
What a pattern matches is independent from which of the variables it binds are used.
The pattern [a,b,c], or equivalently a::b::c::[], matches lists of length 3. (...)
... unless it matches lazily, as in let [a,b,c] = [1,2,3,4] in let [a,b,c] = [] in 42. Artur -- Zamow odbitki ze zdjec cyfrowych lub archiwum zdjec na CD! [ http://lab.foto.onet.pl/laboratorium.html ]