On 20/10/06, Henk-Jan van Tuyl <hjgtuyl at chello.nl> wrote: > How about this: > import List > isIdentity (PL xs) = xs `isPrefixOf` [1..] > ? Nice! Short, lazy and says what it does (onomatopoeic code? :)). -- -David House, dmhouse at gmail.com