Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

/prog/ advice series: Haskell

Name: Anonymous 2008-07-18 0:23

Dear /prog/,

I'm tired of fighting with ENTERPRISE languages. I want to learn Haskell. The question is, where do I start?

I'm not completely ignorant of programming language theory -- I read http://mitpress.mit.edu/catalog/item/default.asp?ttype=2&tid=8184 several years ago -- but the math is a bit rusty. I've tried a few Haskell ``introductions'' but they were more philosophical wanking about the beauty of monads and other abstract bullshite than an instruction on how to program in Haskell. In short, help.

Name: Anonymous 2008-07-29 11:32

fail f = print "epic fail" >>= error f

Name: Anonymous 2008-07-29 11:42

>>40
fail breaks the monad laws.

Name: Anonymous 2008-07-29 13:49

>>42
Why?

Name: Anonymous 2008-07-29 16:32

>>43
not enough anii to hax

Name: Anonymous 2008-07-30 9:57

>>44
Thread over, sadly.

Name: Peyton `Osama` Jones 2008-07-31 16:10

Name: Anonymous 2008-07-31 16:28

Name: Anonymous 2008-07-31 17:34

>>47

VIRUS!! DON'T CLICK THAT LINK, FOLKS!

Name: Anonymous 2008-07-31 20:26

>>47
I left Ubanto for Debian over an autoconfig issue as well, but my wireless actually works. I guess Randall's family suffers from inbreeding.

Name: Anonymous 2011-02-10 1:26

>>6,8,21
here's the real solution to that problem:
instance (Num a, Eq a) => Num (x -> a) where
    fromInteger = const . fromInteger
    f + g = liftM2 (+) f g
    f * g = liftM2 (*) f g
    f - g = liftM2 (-) f g
    negate = (negate .)
    abs = (abs .)
    signum = (signum .)

addNeg = -(+)

Name: Anonymous 2011-02-10 5:20

>>51
Archeology ahoy!

Name: Anonymous 2011-02-10 5:22

>>52
* Archaeology

Name: Anonymous 2011-02-10 8:57

>>53
The logy of archaea

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List