11 May 18:20
Re: dropping hyphens and \n in words
From: Brandon S. Allbery KF8NH <allbery <at> ece.cmu.edu>
Subject: Re: dropping hyphens and \n in words
Newsgroups: gmane.comp.lang.haskell.cafe
Date: 2008-05-11 16:20:35 GMT
Subject: Re: dropping hyphens and \n in words
Newsgroups: gmane.comp.lang.haskell.cafe
Date: 2008-05-11 16:20:35 GMT
On 2008 May 11, at 11:47, Ivan Amarquaye wrote:
Somewhat unrelated point: breaking between "s" and "h" would be peculiar for English because they're components of a digraph.
Is this homework? http://haskell.org/haskellwiki/Homework_help
Hint: \n may look funny, but it is a character like any other and can be used in pattern matching.
--
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery <at> kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery <at> ece.cmu.edu
electrical and computer engineering, carnegie mellon university KF8NH
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe <at> haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
RSS Feed