Thanks! I thought pattern matching or case analysis wouldn't work well with functions -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.haskell.org/pipermail/beginners/attachments/20150622/1f869ff1/attachment.html>