> The error is in the code line above, you can't write > trainingSet :: [ClassifiedImage] > by itself in a do statement. Thanks for your advice! Now it works. Best regards Dmitri Pissarenko -- Dmitri Pissarenko Software Engineer http://dapissarenko.com