Beginners Digest, Vol 37, Issue 19

2011-07-12 Thread beginners-request
s mailing list >> > > > Beginners@haskell.org >> > > > http://www.haskell.org/mailman/listinfo/beginners >> > > > >> > > > >> > ___ >> > Beginners mailing list >> > Begin

Beginners Digest, Vol 37, Issue 20

2011-07-12 Thread beginners-request
Roelof Wobben wrote: > > > > > > > What I try to achieve is this: > > > > > > > > > > > > > > > > [1,2,3,4] will be [1,2] [3,4] > > > > > > > > [1,2,3,4,5] will be [1,2,3] [3,4,5] > > > > > > So, I think

Beginners Digest, Vol 37, Issue 21

2011-07-12 Thread beginners-request
nnot figure out the type of [] in 'putStrLn $ show $ halve []'. You can write putStrLn $ show $ halve ([] :: [Int]) to give it an explicit type. It's a bit annoying since we happen to know that the type of the list makes no difference, but the compiler can't figure that out. -Brent

Beginners Digest, Vol 37, Issue 22

2011-07-12 Thread beginners-request
Send Beginners mailing list submissions to beginners@haskell.org To subscribe or unsubscribe via the World Wide Web, visit http://www.haskell.org/mailman/listinfo/beginners or, via email, send a message with subject or body 'help' to beginners-requ...@haskell.org You can r