[Haskell-cafe] pleac, examples, etc

chris moline evilantleredthing at yahoo.ca
Tue Nov 14 19:00:16 EST 2006


--- brad clawsie <clawsie at fastmail.fm> wrote:
> it would be great if some of the more informed
> posters here took a stab
> at filling in 
> 
>
http://pleac.sourceforge.net/pleac_haskell/index.html
> 
> a neat site for cookbook-style problem solving

What I've always found funny about pleac is that none
of the examples are actually Haskell, but some weird
Haskell-with-oo-features. Does anyone know what
language it is?

Here are some examples:

password = [1..8].mapM (\_ -> rand (0, chars.length
-1) >>> (chars!))

-- in haskell, regexp are first class, then can be
appended, sometimes easier to read
m0' s = .... (s ==~ dec_number) ....
             

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the Haskell-Cafe mailing list