Whoops, isAtLeast should be | otherwise = isAtLeast (tail ls) (n-1) -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20160509/bed344f4/attachment.html>