00:00:00 --- log: started haskell/02.01.12 00:39:13 --- join: Vutr__ (~ss@port-212.169.142.149.flat4all.de) joined #haskell 00:57:03 --- quit: Vutra_ (Read error: 110 (Connection timed out)) 01:55:29 --- quit: Peaker ("Client Exiting") 04:16:17 --- join: shapr (~user@p-c2fbab4f.easy.inet.fi) joined #haskell 04:17:53 * shapr awakens! 04:17:56 goood morning! 04:27:00 hey, did anyone see the test-first stuff that pit@capitan.de suggested on pragprog list? 04:29:40 it's all about writing a tiny spreadsheet in the test first process 04:36:52 * shapr reads up on QuickCheck 04:40:52 anyone here used QuickCheck? 04:47:09 --- join: teek (teemu@k72.viikki.hoasnet.fi) joined #haskell 04:47:20 hi teek 04:47:29 hi hapr 04:47:35 s/hapr/shapr 04:47:35 what's up? 04:49:32 got bloody infection on my leg operation scar, and now i have to eat more pills (antibiotes or what they are called) 04:50:12 so. Likely to have one week more for mindless hacking and ircing 04:50:48 well, good and bad sides 04:50:53 have you got any new haskell done ? 04:52:10 besides that Mandelbrot code 04:53:18 I've investigated type classes 04:53:36 here's the code I did yesterday: 04:53:47 class CharExts a where 04:53:47 isVowel :: a -> Bool 04:53:47 isConsonant :: a -> Bool 04:53:47 instance CharExts Char where 04:53:47 isVowel a = elem a "aeiouAEIOU" 04:53:47 isConsonant a = elem a (filter (not . isVowel) ['A'..'Z'] ++ ['a'..'z']) 04:54:10 that's my example implementation of a type class 04:55:28 oh, i followed discussion, where you were talking about this example. 04:56:11 today a message about test-first programming hit the pragprog mailing list 04:56:23 so I'm trying to figure out how to use QuickCheck to test Haskell code 04:57:15 wanna figure it out with me? :) 04:57:49 i'll leave that journey to you ;) 04:57:58 heh, ok 04:58:22 * teek is away: Odd. I've something to do. 05:26:43 teek: have you written any code lately? 05:45:44 --- join: jsw (scott@12-234-202-177.client.attbi.com) joined #haskell 05:46:24 hi jsw 06:02:29 geez 06:02:37 writing a spreadsheet in Haskell is not easy 06:10:45 --- join: Heffalump (ganesh@munchkin.comlab.ox.ac.uk) joined #haskell 06:11:01 hello again, oh stuffed and vicious one. 06:11:04 'lo 06:11:06 :-) 06:55:33 hi shapr, was on a different screen 07:02:45 --- join: nodie (~nodie@213-99-234-89.uc.nombres.ttd.es) joined #haskell 07:02:49 hi 07:02:52 hi nodie 07:15:00 shapr 07:15:08 ? 07:15:11 why haskell and not lisp? 07:15:21 I want a purely functional language 07:16:09 and I like the idea of a pure lazy functional lang 07:16:39 --- nick: Vutr__ -> Vutral 07:16:45 hi Vutral 07:18:24 cos this is #haskell, is why :-) 07:18:28 nodie: what about you? 07:18:53 i have learned haskell in a course in my degree 07:19:00 oh, that must be nice 07:19:11 I want to take some computer courses sometime ;) 07:19:15 in march i'll see lisp in a AI course 07:19:27 oh, that sounds like fun 07:19:57 (i refer a university course, i'm studing a degree) 07:20:07 I want one!! 07:20:54 i like haskell 07:21:05 because i'm more teorical than practical... 07:21:41 I'm looking for new mental tools 07:22:02 Haskell thinks very differently than Java, Python, etc 07:52:35 --- join: jadrian (~none@dial-b3-96-180.telepac.pt) joined #haskell 07:52:39 * jadrian walks in 07:52:43 hi 07:52:50 my profesor says that companies what functional languages because they reduce written code 07:52:51 anyone tried ghc 5.02.2 yet? 07:52:53 hi jadrian 07:52:53 hi jadrian 07:52:59 hey nodie, shapr 07:53:19 no jadrian i use 5.02.1 07:53:32 tell me something nodie... how is this supposed to work... 07:53:42 > module Main where 07:53:42 > main :: IO() 07:53:42 > main = do 07:53:42 > putStr "n:" 07:53:42 > n <- readLn :: IO(Int) 07:53:43 > print n 07:53:46 nodie, the longer I program, the more I suspect that the volume of code written to solve a certain problem depends on the person solving the problem 07:53:52 I know really trivial :) 07:54:11 how well they know how to program, and how well they know the tools they're using to solve the problem 07:54:40 I just upgraded to ghc 5.02.2 and it only prints the "n:" after reading from the stdin 07:54:41 one thing that's really bothering me about the software industry is that programmers are beginning to be forced to use certain tools by their managers (like Java) 07:55:07 managers rarely know how to program, ergo programmers should be the ones to choose their own tools. 07:56:20 can you tell if it's a bug in ghc 5.02.2? 07:56:26 cause it seems like a bug to me... 07:56:38 jadrian this not compile in ghc 5.02.1 07:56:50 no? 07:56:59 why not... 07:57:07 shapr in university they say us that manager are as 07:57:10 engineer 07:58:30 oh well... 07:58:40 one moment jadrian 07:58:41 nodie: what error do you get? 07:58:57 oh, the indentation looks wrong, actually 07:59:31 damn... I'm not that much of a newbie... I'm not asking if the code is wrong.. let me see :) 07:59:41 module Main where 07:59:42 main :: IO() 07:59:42 main = do 07:59:42 putStr "n:" 07:59:42 n <- readLn :: IO(Int) 07:59:42 print n 08:00:07 ok... copy pasted from xemacs 08:00:11 it does compiles 08:00:13 nope, it works fine in hugs 08:00:25 Heffalump: fine means it prints 08:00:28 "n:" 08:00:32 then gets the stdin 08:00:38 then prints the n 08:00:41 right? 08:00:43 then repeats what you typed if it was a number 08:00:43 yep. 08:00:50 damn 08:00:51 I've not installed ghc-5.02.2 yet 08:01:08 I just upgraded to 5.02.2 and it doesn't work that way 08:01:15 5.00.2 works fine 08:01:25 yes it worked fine for me too 08:02:05 I upgraded from 5.00.2 to 5.02.2 and my interfaces just stoped working 08:02:22 nodie: sadly, most managers have no programming experience 08:02:27 at least, that's my experience 08:02:34 not sure if it is SuSE rpms or Ghc 5.02.2 bug :( 08:02:56 shapr like i 08:03:02 it's also my experience that most teachers in university have not worked in the real industry of software engineering 08:03:06 i don't have programming experience 08:03:16 * Heffalump downloads ghc 5.02.2, but it'll take a while to compile 08:03:20 nodie: are you planning on being a manager? 08:03:33 i don't know what i'll do 08:03:34 Heffalump: which distro? 08:04:03 redhat 6 08:04:08 k 08:04:08 I'm looking forward to getting 5.02 updated in debian 08:04:23 the debian maintainer doesn't keep up very closely, does he? 08:04:48 he's on #functional ;) 08:04:52 * Heffalump --> recompile it on the redhat 7 box too 08:04:54 I'll have to invite him over here 08:04:55 ah :) 08:04:59 ah, ok :-) 08:05:16 * Heffalump wants to sort out the nhc packages and try to get them back into Debian 08:05:28 michaelw is probably the person to talk to 08:05:35 ERROR "p.hs":8 - Last generator in do {...} must be an expression 08:05:39 hey maybe he knows anything about this 'bug?' 08:05:48 * shapr dunno 08:05:51 this is my error with your code .... 08:06:06 he's also been idle on irc for 16.5 hours 08:06:09 nodie: that code is correct 08:06:27 yeah, he's sent me his most recent version but it wouldn't build for me 08:06:39 I need to work out why 08:06:45 things changed 'tween 5.00 and 5.02 08:07:17 I've noticed differences with module names for shadowing 08:07:19 right, hopefully these will be compiled by tomorrow :-) 08:07:47 * Heffalump goes shopping 08:08:01 whatcha buyin? 08:08:06 books? hardware? music? 08:08:17 food? 08:08:29 food/other groceries 08:08:30 (programmers need to eat too xD) 08:08:31 oh, that would be sensible 08:08:57 excellent point nodie 08:10:13 --- join: Vutra_ (~ss@212.169.153.102) joined #haskell 08:10:19 hi Vutra 08:10:27 hi Vutra_ 08:10:29 lol 08:10:37 hi Vutra! 08:11:10 shapr but haskell not have industry support.. 08:11:15 lol 08:11:23 like C# or java 08:11:36 nodie: if that's industry support, I hope Haskell doesn't get it :) 08:11:45 xD 08:11:48 in Spain 08:11:52 it's horrible 08:11:58 because C# and Java really suck 08:11:58 you can learn haskell 08:12:10 you can develop for the Hurd 08:12:12 but 08:12:18 in street jobs 08:12:23 they only want 08:12:29 Delphi programmers 08:12:35 oracle admis 08:12:53 and Windows Nt Admin 08:12:58 and such 08:13:13 one reason perl became popular and even famous is that it allowed sysadmins to simplify their tasks 08:13:43 I may be bug-fixing 60,000 lines of Visual Basic code in the next few weeks 08:13:50 I'll write a Haskell language analyser ;) 08:13:55 xD 08:14:02 very good solution 08:14:14 i have saw 08:14:19 doing it manually in Visual Basic would take me a long, long time 08:14:20 a lot people 08:14:51 say they see perl codes they can reduce to 10 lines haskell code 08:15:33 I don't know, I haven't used Perl since '98 08:15:36 I don't like it much 08:15:50 Haskell does seem to be very expert friendly 08:15:51 i don't know why some type of software like mail daemons have haskell programas 08:16:03 I am also surprised that they don't exist 08:16:09 but I'm also willing to fix that problem 08:16:44 yes 08:17:10 i was with the web sever 08:17:13 in haskell 08:17:18 you were with it? 08:17:27 i mean 08:17:45 i was trying to use it 08:18:17 did it work for you? 08:18:17 but it doesn't works 08:18:18 --- quit: Vutral (Read error: 60 (Operation timed out)) 08:19:07 no 08:19:08 but 08:19:10 where's the webserver? 08:19:18 in haskell.org 08:19:25 library section 08:19:37 ok, I'll look at it later 08:19:38 it's part of a haskell article 08:19:49 right now I'm learning how to build debian packages so I can become a maintainer 08:20:12 then I'll be able to fix the Haskell packages if I can't persuade michaelw to fix them ;) 08:20:13 :) 08:20:27 i need to reinstall linux 08:20:35 i'm using now mandrake ... 08:20:42 that's a good linux to start with. 08:20:45 with debian it's more funny 08:20:58 sharp i use linux from 1997 08:20:59 xD 08:21:12 debian is much harder to install at first, but much much easier to upgrade and install new packages on an existing debian system 08:21:16 wow 08:21:27 --- nick: Vutra_ -> Vutral 08:21:36 I have the latest debian packages as of this morning. 08:21:41 I upgrade about every two days. 08:21:56 back (and about to exit) 08:21:57 yes it's become a vicius 08:21:57 xD 08:22:08 bye jadrian! come back soon! 08:22:11 mmmm debian I thought about that... 08:22:16 I really like debian. 08:22:25 <- is a SuSE guy right now 08:22:48 debian need too much atentions 08:22:49 if it works for you, you should use it ;) 08:22:54 I just don't see many advatages in debian if I don't want to make online updates 08:23:06 I mean... net is way to expensive here 08:23:09 er, why don't you want to make online updates? 08:23:13 oh 08:23:14 so I'd have to download the debs at work 08:23:33 so they would work just as RPMs 08:23:39 ouch, painful 08:23:45 yeap :( 08:24:15 and then there is the configuration deal... SuSE is very easy 08:24:53 ok got to go 08:24:55 see ya 08:25:13 --- quit: jadrian ("Client Exiting") 08:25:51 i'm going to do something usefull 08:25:55 bye 08:27:03 --- quit: nodie ("studing") 08:27:39 --- quit: teek ("Coffee break") 08:35:48 --- join: kepler (~kepler@adsl-81-163-152.asm.bellsouth.net) joined #haskell 08:35:58 hi kepler 08:36:05 hi 08:36:21 what's up? 08:36:26 any new code? 08:36:31 no :/ 08:36:43 I am rather stuck on that, I haven't written anything in months 08:36:45 functional epiphanies? 08:37:18 I'd like to get my fractal module to have multiple outputs 08:37:44 I'd also like to play with the rudimentary Scheme interpreter in Haskell that I found 08:38:51 hey, does anyone here know how to use QuickCheck? 08:39:13 there's a nifty test-first challenge going on in the extremeprogramming and pragprog groups 08:39:40 someone suggested that it be done in parallel in Haskell also 08:40:18 --- quit: kepler (Read error: 113 (No route to host)) 09:24:08 --- join: kepler (~kepler@adsl-81-164-221.asm.bellsouth.net) joined #haskell 09:26:25 re 09:57:55 anyone here have haskell cgi code they've done? 10:24:12 I have some 10:26:21 oh, can I see it? 10:26:24 is it on your site? 10:27:07 umm, no, but it ought to be 10:27:13 p-p-please? 10:27:17 =) 10:27:17 :-) 10:27:22 * Heffalump thinks 10:28:17 it's not a very good short example 10:28:24 and some of the code is a bit of a mess 10:28:37 have you looked at the examples linked from haskell.org? 10:29:18 I looked at some of the libs 10:30:02 but I didn't see any demo code 10:30:20 the thing about my code is that it uses some rather complicated stuff (monad transformers) 10:30:59 hm 10:31:01 well 10:31:04 * shapr shrugs 10:31:06 I dunno 10:31:10 did you look at http://www.pms.informatik.uni-muenchen.de/mitarbeiter/panne/haskell_libs/CGI.html ? 10:32:25 * shapr looks 10:33:06 that's the library I used 10:41:40 --- quit: kepler (Remote closed the connection) 10:52:51 yell if you really do want a copy of my code, but don't say I didn't warn you :-) 10:53:42 * shapr yells 11:18:29 --- join: teek (teemu@k72.viikki.hoasnet.fi) joined #haskell 11:36:37 --- quit: teek ("Coffee break") 12:57:19 Heffalump: cool tech 13:04:38 not sure I understand it all yet 13:05:52 understand what all? 13:07:21 the paper "Generic Program Transformation" from http://web.comlab.ox.ac.uk/oucl/work/ganesh.sittampalam/ 13:07:24 interesting stuff 13:08:14 I'm not really sure where it or does not fit into the categories of macros,automatic refactoring,or just compilers 13:08:24 no idea 13:08:30 hi xbill, what's up? 13:16:37 hackin' the kernel 13:17:33 shapr: it doesn't really 13:22:59 hm 13:33:13 --- join: Vutra_ (~ss@212.169.153.123) joined #haskell 13:33:33 hi Vutra_ 13:47:44 hot buttery poppin' fresh kernels 13:48:08 mmm 13:48:15 sounds tasty 13:49:46 colonel sanders would approve 13:50:12 wasn't that Orville Redenbacher? 13:50:22 I thought sanders was the fowl old man. 13:51:44 or was he? 13:51:46 * shapr googles 13:55:28 --- quit: Vutral (Connection timed out) 14:01:30 xbill: yes, Colonel Sanders is the guy who did the chain of semi-fast-food joints, Kentucky Fried Chicken 14:01:38 it was in the southeast USA at least 14:02:15 what's the best unit testing framework for Haskell? 14:05:04 all I've been able to find is QuickCheck 14:05:18 xbill: Orville Redenbacher was the popcorn guy 14:05:42 xbill: see, this is why you're a kernel developer, and I'm not. My brain is full of useless crap :-D 14:05:48 * shapr laughs 14:15:27 anyone here used QuickCheck? 14:15:46 I don't understand how to specify a property definition 14:23:10 --- quit: shapr ("time to play tribes2!") 14:25:12 --- join: nodie (~nodie@193-152-218-197.uc.nombres.ttd.es) joined #haskell 14:35:04 --- quit: nodie ("BitchX: its magically delicious!") 14:35:51 --- join: nodie (~nodie@193-152-218-197.uc.nombres.ttd.es) joined #haskell 15:11:31 bye 15:11:33 --- part: nodie left #haskell 18:22:14 --- quit: pHa (Read error: 104 (Connection reset by peer)) 18:27:35 --- join: pHa (sjh@Sprint361.tbaytel.net) joined #haskell 19:07:19 --- nick: Vutra_ -> Vutral 19:16:01 --- quit: jewel (carter.openprojects.net irc.openprojects.net) 19:21:41 --- join: jewel (~jleuner@57.66.12.99) joined #haskell 21:26:18 --- join: Vutra_ (~ss@port-212.169.142.233.flat4all.de) joined #haskell 21:36:26 --- join: kepler (~kepler@adsl-81-164-221.asm.bellsouth.net) joined #haskell 21:46:21 --- quit: Vutral (Read error: 110 (Connection timed out)) 22:50:16 --- quit: clog (^C) 22:50:16 --- log: stopped haskell/02.01.12 22:50:47 --- log: started haskell/02.01.12 22:50:47 --- join: clog (nef@bespin.org) joined #haskell 22:50:47 --- topic: 'Functional Programming, that's the opposite of Dysfunctional Programming (like VB) | we be loggin' http://tunes.org/~nef/logs/haskell/ | welcome to the Haskell Dojo | jewel, julien, and shapr are up to white belt!' 22:50:47 --- topic: set by shapr on [Mon Jan 07 10:42:01 2002] 22:50:47 --- names: list (clog kepler Vutra_ jewel pHa Heffalump jsw smkl dmiles dennisb jlb xbill aleksi) 23:33:28 --- part: jsw left #haskell 23:59:59 --- log: ended haskell/02.01.12