00:00:00 --- log: started haskell/02.01.08 01:57:44 --- join: shapr (~user@195.156.199.178) joined #haskell 01:59:09 good morning! 02:00:07 hi kepler, I don't think I've seen you here before, are you learning haskell? or are you an experienced haskell programmer? 03:42:52 --- quit: shapr (carter.openprojects.net irc.openprojects.net) 03:43:15 --- join: shapr (~user@195.156.199.178) joined #haskell 04:22:52 --- join: teek (teemu@k72.viikki.hoasnet.fi) joined #haskell 04:24:41 whee 04:24:44 * shapr bounces 04:36:31 hey shapr 04:40:42 coi djul 04:40:44 do mo 04:51:38 working as usual 04:51:52 this morning we came here to find all hell had broken loose in our nightly run 04:52:23 very embarrassing (since the client found the problems) 04:53:24 er, do you ship your code to the client before testing it? 05:22:02 --- quit: kepler (Read error: 110 (Connection timed out)) 05:41:22 no, we work onsite 05:41:49 but they have the scripts that examine the data in the database 05:42:00 so we can only find problems by looking for them manually 05:42:16 kepler chatted to me once 05:42:30 I think he would qualify several belts above white :-) 05:56:45 --- join: jens (tschenz@212.204.116.82) joined #haskell 05:56:48 hi there 05:57:58 hello 05:58:05 can anyone give me a hint, how to read command-line parameters in haskell programs ? :) 05:58:52 just point me to a snippet of documentation ;) - that would be enough 06:02:04 er, I don't know of any immediately 06:02:04 I haven't gotten that far 06:02:05 have you looked in the libary docs? 06:05:02 something like this, inside monad: [a1, a2] <- getArgs 06:05:15 aha 06:05:27 System.getArgs 06:05:50 ah - thanks - thats what i needed ;) - googling again :) 06:05:50 check IO module docs from Haskell web pages. getArgs is defined there 06:06:19 or was it in System ? shapr ? 06:06:37 seems to be system 06:06:51 http://www.haskell.org/onlinelibrary/system.html 06:11:45 --- quit: jens ("THANKS :)") 06:35:48 --- quit: shapr (carter.openprojects.net irc.openprojects.net) 06:36:14 --- join: shapr (~user@195.156.199.178) joined #haskell 07:05:29 --- quit: shapr (carter.openprojects.net irc.openprojects.net) 07:07:31 --- join: shapr (~user@195.156.199.178) joined #haskell 07:12:08 --- join: harryo (~harryo@CPE-144-132-243-208.nsw.bigpond.net.au) joined #haskell 07:14:00 --- quit: harryo ("using sirc version 2.211+KSIRC/1.1") 07:28:04 --- quit: shapr (carter.openprojects.net irc.openprojects.net) 07:32:12 --- join: shapr (~user@195.156.199.178) joined #haskell 07:44:33 whee 07:58:11 --- quit: shapr (carter.openprojects.net irc.openprojects.net) 08:01:17 --- join: shapr (~user@195.156.199.178) joined #haskell 08:13:20 --- join: jsw (scott@12-234-202-177.client.attbi.com) joined #haskell 08:22:03 * shapr reads about Monads 08:33:23 * shapr thinks of Monads as rings on a string that can slide back and forth but not over each other 08:44:02 * shapr does not quite understand 08:49:18 anyone awake who understands Monads? 08:52:12 --- quit: teek (Read error: 113 (No route to host)) 08:53:41 --- quit: shapr (carter.openprojects.net irc.openprojects.net) 08:58:01 --- join: shapr (~user@195.156.199.178) joined #haskell 08:59:17 --- join: teek (teemu@k72.viikki.hoasnet.fi) joined #haskell 09:02:37 --- quit: julien ("Client Exiting") 09:12:52 anyone here used the ST monad before? 09:18:10 --- part: jsw left #haskell 09:22:30 --- quit: shapr ("bbl") 09:33:26 --- quit: teek (Read error: 113 (No route to host)) 10:16:29 --- join: djul (~jleuner@57.66.12.99) joined #haskell 10:31:14 --- quit: jewel (Connection timed out) 10:53:48 --- join: jsw (scott@12-234-202-177.client.attbi.com) joined #haskell 11:02:20 --- part: jsw left #haskell 12:30:15 --- join: harryo (~harryo@CPE-144-132-243-208.nsw.bigpond.net.au) joined #haskell 12:34:37 --- part: harryo left #haskell 12:35:45 --- join: harryo (~harryo@CPE-144-132-243-208.nsw.bigpond.net.au) joined #haskell 12:39:10 --- part: harryo left #haskell 12:47:25 --- join: kholmes (klh@client552.sedona.net) joined #haskell 13:20:57 --- join: kepler (~kepler@adsl-81-166-170.asm.bellsouth.net) joined #haskell 13:57:37 --- quit: kholmes () 14:13:52 --- join: shapr (~user@p-c2fbab4f.easy.inet.fi) joined #haskell 14:14:43 hi, anyone awake? 14:19:14 --- quit: kepler (Remote closed the connection) 16:12:17 anybody have a primality checker? 16:48:24 --- quit: shapr (carter.openprojects.net irc.openprojects.net) 17:04:27 --- join: shapr (~user@p-c2fbab4f.easy.inet.fi) joined #haskell 17:33:15 --- join: kepler (~kepler@adsl-81-166-170.asm.bellsouth.net) joined #haskell 20:12:39 --- quit: kepler (Remote closed the connection) 21:32:08 --- quit: shapr (carter.openprojects.net irc.openprojects.net) 21:32:43 --- join: shapr (~user@p-c2fbab4f.easy.inet.fi) joined #haskell 21:48:13 --- join: gumleef (~gumleef@1cust26.tnt1.murray-bridge.au.da.uu.net) joined #haskell 21:49:02 can someone tell me why i should learn haskell? 21:49:34 ie. its pros, cons, etc 21:50:45 I just use it, I'm not an advocate. 21:51:55 well, how bout some of its features then 21:52:27 it's a lazy functional language 21:52:39 which means dealing with infinite structures is easier 21:53:13 so it would be good if i wanted to map out the universe... 21:53:20 primes = 2:3:5:[ p | p <- [7,9..], all (\q -> p `mod` q /= 0) [q | q <- (takeWhile (<=(ceiling . sqrt . fromInteger $ p)) primes) ] ] 21:53:32 that right there defines the list of all prime numbers 21:53:40 nice 21:53:44 it's polymorphic and has type inference 21:53:57 which means you get C++ templates with the convenience of not having to declare them 21:54:05 it also has overloading 21:54:31 which means you define a function on any type supporting a given interface 21:54:43 yup, i know what overloading is 21:55:12 it has higher-order functions, which means you can create functions on the fly 21:57:25 e.g. f n = (\ x -> x + n) is a function which takes a number n and returns the function that adds n to a number 21:57:50 it has user-definable operators 21:58:11 anything made up of punctuation can be an operator 21:58:47 does it interact well with other languages? 21:59:07 e.g f #$^&@* g = \x -> f (g x) defines a function #$^&* 21:59:16 er an operator 21:59:42 it works okay with C but I personally don't feel it is very strong with that 22:00:59 well, thanks for ur time. im off to read a tute! 22:01:04 --- part: gumleef left #haskell 22:08:23 --- join: dmiles (~alife@sense-sea-MegaSub-2-56.oz.net) joined #haskell 22:34:43 --- join: jlb-wireless (~ktk@jeremeydsl-7.mylinuxisp.com) joined #haskell 22:48:57 xbill: your "I just use it" talk is what we should give to every prospective user :) 23:03:03 --- join: jsw (scott@12-234-202-177.client.attbi.com) joined #haskell 23:04:34 hi jsw 23:05:03 hi 23:05:16 looking for haskell info? or are you already a haskell programmer? 23:05:45 just a beginning haskell programmer, sometimes I find interesting conversation here. 23:05:51 not quite ready to start any yet. 23:06:36 ok :) 23:18:16 --- quit: shapr ("work time") 23:25:40 bye all 23:25:42 --- part: jsw left #haskell 23:59:59 --- log: ended haskell/02.01.08