#haskell - Sat 24 Feb 2007 between 02:59 and 03:03



sorearsaddev: autoreconf first
fantasma> let mult a 0 = 0; mult a b = a + mult a (b-1) in mult 4 3
lambdabot12
fantasmawoot
> let mult a 0 = 0; mult a b = a + mult a (b-1) in mult 1 3
lambdabot3
fantasma> let mult a 0 = 0; mult a b = a + mult a (b-1) in mult 0 3
monochrom@quote Syzygy
lambdabotNo quotes match. Wrong! You cheating scum!
0
saddev11 October 2006 realease right?
monochrom@quote Syzygy-
lambdabotSyzygy- says: Why do I get the feeling that the arrow code was written during "Speak like a pirate day"?
monochrom@quote Syzygy-
lambdabotSyzygy- says: Why do I get the feeling that the arrow code was written during "Speak like a pirate day"?
monochrom@quote Syzygy-
lambdabotSyzygy- says: Why do I get the feeling that the arrow code was written during "Speak like a pirate day"?
bos@hoogle forever
lambdabotNo matches found
sorearsaddev: if you have a release .tar.gz you don't need to autoreconf, but if you're not going HEAD there's not much point in coming from source
monochromOK, I can't find what I want.
fantasmai did it, i multiplied numbers!
JoshTriplettbos: Looking for something in particular?
sorearbos: repeatM
bosJoshTriplett: forever is in Control.Monad in the darcs head of base, but not ghc 6.6
sorearbos: fix.(>>)
fantasmais it possible to do division recursively
sorearbos: short enough?
bossorear: :-)
sorearfantasma: of course!
fantasmadont write the code!
:)
saddevsorear: I see what you mean. To learn, is it better going with HEAD, the tar.gz 6.6 or the ubuntu deb package 6.4.2?
sitiwell you don't really need the features in ghc 6.6
JoshTriplettsaddev: For learning purposes, one of the latter two, most likely the deb.
sorearsaddev: 6.4.2. anything later than 3.0 or so will get you haskell98
saddev: 6.4.2 is likely to get you the least "fun"
sitithey come in useful when you are making gtk apps in haskell, using a debugger and other nifty features
soreardrum roll...
monochromI know how to do division recursively. To divide x by y, search through 0*y, 1*y, 2*y, ... until you find n*y == x.

Page: 5 12 19 26 33 40 47 54 61 68 75 82 89 96 103 110 117 124 131 138 

IrcArchive