Re: Pattern matching issues

2011-07-23 Thread Linas Vepstas
On 12 July 2011 16:05, Panicz Maciej Godek wrote: > As we all know, The guile module (ice-9 match) includes an > implementation for a pattern matcher as specified by Andrew K. Wright. > I've recently been reading a book by Peter Norvig, where he came up > with the following notation for what he c

Sorting uniform vectors

2011-07-23 Thread Panicz Maciej Godek
Hey, is there a way to use the guile's sort function to efficiently sort uniform vectors? To make it more tangible, I would the operation (sort #u32(321 524 53 324 65 76 47 9288 56) <) to return something of more value than (wrong-type-arg) ;] regards M.