gl changed the topic of #ocaml to: OCaml 3.07 ! -- Archive of Caml Weekly News: http://pauillac.inria.fr/~aschmitt/cwn , A tutorial: http://merjis.com/richj/computers/ocaml/tutorial/ , A free book: http://cristal.inria.fr/~remy/cours/appsem, Mailing List (best ml ever for any computer language): http://caml.inria.fr/bin/wilma/caml-list | http://icfpcontest.org/ !!
pac_away has joined #ocaml
pac_away is now known as pac_
<pac_> Hi again
pac_ has quit ["leaving"]
pac_away has joined #ocaml
pac_away is now known as pac_
vezenchio has joined #ocaml
pac_ is now known as pac_aw
yauz_ has joined #ocaml
Riastrad1 has joined #ocaml
Riastradh has quit [Nick collision from services.]
Riastrad1 is now known as Riastradh
samx has joined #ocaml
yauz has quit [Read error: 110 (Connection timed out)]
smimou has quit ["?"]
lambdawar has quit [Remote closed the connection]
cjohnson has quit [Read error: 104 (Connection reset by peer)]
vezenchio has quit ["Join the fight against drunken calculus: Don't drink and derive!"]
samx has left #ocaml []
vezenchio has joined #ocaml
Riastradh has quit [Read error: 110 (Connection timed out)]
Riastradh has joined #ocaml
vezenchio has quit ["Join the fight against drunken calculus: Don't drink and derive!"]
vezenchio has joined #ocaml
kinners has joined #ocaml
mrsolo has joined #ocaml
<mrsolo> hi is there a zope equivalent for ocaml?
kinners has quit ["leaving"]
pac_aw has quit [Client Quit]
monotonom has joined #ocaml
skylan_ is now known as skylan
Herrchen_ has joined #ocaml
GreyLensman has joined #ocaml
GreyLensman has quit [Client Quit]
Herrchen has quit [Read error: 110 (Connection timed out)]
<debona|r> there's mod_ocaml isn't that enough?
<mrsolo> no
<debona|r> is there any other language that has a zope equivalent, out of curiousity?
<debona|r> where can I find the functions dealing with opening and reading files?
lambdawar has joined #ocaml
<debona|r> I found
<debona|r> some
<debona|r> hum
<debona|r> too bad noone is here now
<det_> hello
<mrsolo> java has several
<mrsolo> but missing some aspect
<mrsolo> but have something else
<mrsolo> jboss, tomcat, cocoon
<mrsolo> weblogic
<mrsolo> .net langauge has some
<debona|r> isn't tomcat just a apache module?
<mrsolo> no
<debona|r> anywho
<debona|r> here's my first program
<debona|r> er, functino
<debona|r> function
<debona|r> I replaced the filename at the end with Sys.argv.(1);;
<debona|r> are there better ways of doing this?
<monotonom> I think it is just fine.
<debona|r> I think ocaml is going to be like vi... it sucks to learn it, but once you've done it, it rocks
<mrsolo> actualy ocaml is a joy to learn
<debona|r> what's this underscore I see so often?
<debona|r> let _ = ...
<Riastradh> It means 'ignore the value produced.'
<monotonom> I means "whatever"
<monotonom> s/I/It/
<debona|r> well, it's fun to learn because it's new
<lambdawar> are there benchmarks with equivalent C code when ocaml lazy evaluation is used ?
<debona|r> but it's hard to get my head around it ... atleast right now
<mrsolo> but after you learn ocaml, you feel kinda sad
<debona|r> because I wasted many years not knowing it?
<mrsolo> no
<debona|r> then?
<mrsolo> because you can't doing anything with it,
<Riastradh> Because you're going to have to deal with other crap like C.
<mrsolo> unless you are going to write everything from scratch
<mrsolo> there aren't enough libraries
<lambdawar> because you still need to learn haskell once you know it
<debona|r> why do I need to learn haskell?
<Riastradh> mrsolo, how do you think Zope came into existence? It wasn't magic; people wrote it from scratch.
<debona|r> well, let's write libraries then
<mrsolo> Riastradh: of course, it is always chicken and egg
<mrsolo> and my case, chicken, egg and deadline
<Riastradh> The problem is that the sort of programmers who don't understand functional programming are the sort of people who don't mind the menial & tedious work of drudgerous library writing.
<Riastradh> Whereas the people who tend to understand functional programming tend to be uninterested in writing libraries.
<mrsolo> i can't pull application server out of my ass in two weeks :-)
<Riastradh> Writing basic libraries, that is.
<debona|r> interesting point Riastradh
<debona|r> you say it's that efficient, eh?
<mrsolo> but ocaml is a joy to work with
<debona|r> I ended up having to read the ocaml book to find the file opening stuff
<debona|r> I was looking in the manual too
<lambdawar> debona|r: because it provides a deeper theorical playground ?
<lambdawar> (haskell, sorry for the delay)
<debona|r> oh, haha
<debona|r> I was wondering
<debona|r> are you saying it's worth learning, or I have to learn it?
<lambdawar> it's worth learning, more precisely the concepts are worth beeing studied
<mrsolo> yes
<mrsolo> afterward you will gain understanding on why pure functoinal can't solve everything
<mrsolo> go move back to ocaml instead :-)
<lambdawar> what kind of stuff are you referring to mrsolo
<lambdawar> omega ?
<mrsolo> actually on problem domain
<mrsolo> on problem that deals with lots of states
<lambdawar> NP hard problems you mean ?
<mrsolo> monads solve that elegantly but on those, implicit or ood are really simple
<mrsolo> naw, typical i/o issues
<lambdawar> what about continuation based I/O
<monotonom> I prefer moand to continuation
<lambdawar> Ive seen both working but I dont know enough of the theory to judge which is better
<Riastradh> CPS computations are a subset of monads.
<debona|r> uh
<debona|r> are you all CS majors again?
<mrsolo> yea
<Riastradh> debona|r, monads really aren't as scary as they sound.
<monotonom> I was a math major!
<mrsolo> but don't count that against me!
<mrsolo> :-)
<mrsolo> debonar: monads are nice.. they arent really that difficult
<mrsolo> no more difficult than say study of object patterns
<debona|r> Riastradh: it wasn't monads per say ... it was all the terms I didn't know in the last 10 lines you guys had typed... "NP hard problems, monads, omega, continuation based, and CPS computations"
<mrsolo> different vocabuary in different programing domain thats all
<Riastradh> They're just generalizations of computation. You can construct a simple computation that produces a single value, and you can extend a monadic computation with a function that, when the monadic computation is run, will pass the current value in the computation to the function. -- In simple terms, those are the two most common operators.
<mrsolo> in other world, monads maps very closely to command object
<debona|r> command object... is that one of the patterns then?
<mrsolo> debnar: lot of those are associated with functional programming
<monotonom> I'll throw in homeomorphism :)
<mrsolo> command + composite
<debona|r> erk :P
<mrsolo> debonar: yea
<debona|r> earlier today mentioned the troublesome diamond
<debona|r> that one I could cope with :)
<monotonom> Yeah but could you eat pushouts for breakfast :D
<Riastradh> I prefer endofunctorial catamorphisms for breakfast.
* debona|r has read about 1/4th of the design patterns book
* debona|r faints
* Riastradh reanamorphises debona|r.
<lambdawar> google cant find endofunctorial catamorphisms
<lambdawar> ;)
<monotonom> Ah. You need to know all of the design pattern book before you prefer functional programming (pure or impure).
<Riastradh> That's because I just glued two arcane-sounding category theoretical terms together in a way that doesn't make much sense.
<lambdawar> we pardon you for this time, but dont fill lambdabot database with bullshit, else we are in troubles ;)
<monotonom> I'll give three examples.
<Riastradh> Exofunctorial catamorphisms and endofunctorial hylomorphisms would make more sense.
<debona|r> lambdawar: add it in wikipedia then
<debona|r> are there even such terms?
<monotonom> Composite: "Umm, so you mean instead of 'type tree = leaf of int | node of tree*tree' I have to write three bloody classes complete with get/set methods?"
<lambdawar> we could say its the algebraic complement of the intersection btween Exofunctorial catamorphisms and endofunctorial hylomorphisms, that would sound really cool
<lambdawar> and sign Riastradh
<lambdawar> of the #ocaml irc.debian.org channel
<lambdawar> ;)
<Riastradh> debona|r, oh, yes, there are exofunctors, endofunctors, anamorphisms, hylomorphisms, and catamorphisms.
<monotonom> Command: "Why the bloody hell can I not write an anonymous closure? Even Perl let me do that."
<mrsolo> yep
<Riastradh> List.fold_{left,right} are catamorphisms; List.map is a hylomorphism; List.unfold, if there is one, is an anamorphism.
<debona|r> Riastradh: tell me you're doing CS too then?
<monotonom> Interpreter: "Hello? Ever heard of catamorphisms? I mean fold?"
<mrsolo> yep
<Riastradh> debona|r, well, if you command me to tell you that I am, then I suppose it would be best for me to answer that I am...
<debona|r> :P
<debona|r> I've had enough. going to watch tv.
<monotonom> OOP = Object Obfuscation Pomposity.
* Riastradh wanders off to bed in a TVless house.
* monotonom watches IRC
<debona|r> well, to be precise, I shouldn't say tv, but dvd
<debona|r> er
<debona|r> <- tired
<monotonom> Yeah I watch DVDs all the time. CDs too.
<Riastradh> tired -> bed, duh.
<debona|r> shush
<debona|r> I said I was tired :P
* monotonom takes out a CD, spins in under light, and sings what he sees.
<debona|r> bastards
<debona|r> well, I was going to try to write an email client
<debona|r> but maybe I'll just start off with something a bit more lowscale
<Riastradh> Unless you find that your keyboard makes a good pillow, but in my past experience it tends to be particularly uncomfortable, especially for your Emacs buffer or for the other people in the IRC channel.
<Riastradh> sdfnjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjgerasrashegghasggggggggggggggggggggggggggggggggggggggggggggggrf
Snark has joined #ocaml
vincenz has joined #ocaml
maihem has quit [Read error: 104 (Connection reset by peer)]
cDlm has quit [Read error: 104 (Connection reset by peer)]
monotonom has quit ["Don't talk to those who talk to themselves."]
kosmikus|away is now known as kosmikus
cDlm has joined #ocaml
ionOS has joined #ocaml
Herrchen_ is now known as Herrchen
Smerdyakov has quit [Read error: 110 (Connection timed out)]
smimou has joined #ocaml
mrsolo has quit [Read error: 113 (No route to host)]
karryall has joined #ocaml
Smerdyakov has joined #ocaml
bk_ has joined #ocaml
greenrd has quit ["User disconnected"]
jynxzero has joined #ocaml
cjohnson has joined #ocaml
gl has quit [Read error: 110 (Connection timed out)]
maihem has joined #ocaml
cjohnson has quit [Read error: 110 (Connection timed out)]
cjohnson has joined #ocaml
gene9 has joined #ocaml
gim has quit [Read error: 60 (Operation timed out)]
gim has joined #ocaml
cjohnson has quit [Read error: 110 (Connection timed out)]
cjohnson has joined #ocaml
buggs^z is now known as buggs
jynxzero has quit [Client Quit]
jynxzero has joined #ocaml
karryall has quit [kornbluth.freenode.net irc.freenode.net]
gl has joined #ocaml
karryall has joined #ocaml
karryall has quit [kornbluth.freenode.net irc.freenode.net]
gl has quit [kornbluth.freenode.net irc.freenode.net]
gene9 has quit [kornbluth.freenode.net irc.freenode.net]
Smerdyakov has quit [kornbluth.freenode.net irc.freenode.net]
smimou has quit [kornbluth.freenode.net irc.freenode.net]
skylan has quit [kornbluth.freenode.net irc.freenode.net]
kosmikus has quit [kornbluth.freenode.net irc.freenode.net]
magnus-- has quit [kornbluth.freenode.net irc.freenode.net]
mellum has quit [kornbluth.freenode.net irc.freenode.net]
gzl has quit [kornbluth.freenode.net irc.freenode.net]
Hipo has quit [kornbluth.freenode.net irc.freenode.net]
shawn has quit [kornbluth.freenode.net irc.freenode.net]
_fab has quit [kornbluth.freenode.net irc.freenode.net]
cjohnson has quit [kornbluth.freenode.net irc.freenode.net]
ionOS has quit [kornbluth.freenode.net irc.freenode.net]
async has quit [kornbluth.freenode.net irc.freenode.net]
dan|el has quit [kornbluth.freenode.net irc.freenode.net]
debona|r has quit [kornbluth.freenode.net irc.freenode.net]
Hadaka has quit [kornbluth.freenode.net irc.freenode.net]
karryall has joined #ocaml
karryall has quit [kornbluth.freenode.net irc.freenode.net]
pattern has quit [kornbluth.freenode.net irc.freenode.net]
karryall has joined #ocaml
pattern has joined #ocaml
jynxzero has quit [Client Quit]
gl has joined #ocaml
gene9 has joined #ocaml
Smerdyakov has joined #ocaml
smimou has joined #ocaml
magnus-- has joined #ocaml
_fab has joined #ocaml
skylan has joined #ocaml
shawn has joined #ocaml
gzl has joined #ocaml
kosmikus has joined #ocaml
Hipo has joined #ocaml
mellum has joined #ocaml
Riastradh has quit [Killed by zelazny.freenode.net (Nick collision)]
Riastradh has joined #ocaml
karryall has quit [kornbluth.freenode.net irc.freenode.net]
Hadaka has joined #ocaml
debona|r has joined #ocaml
dan|el has joined #ocaml
async has joined #ocaml
ionOS has joined #ocaml
cjohnson has joined #ocaml
pattern has quit [Excess Flood]
pattern has joined #ocaml
clog_ has joined #ocaml
gl has joined #ocaml
gene9 has joined #ocaml
Smerdyakov has joined #ocaml
smimou has joined #ocaml
magnus-- has joined #ocaml
_fab has joined #ocaml
skylan has joined #ocaml
shawn has joined #ocaml
gzl has joined #ocaml
kosmikus has joined #ocaml
Hipo has joined #ocaml
mellum has joined #ocaml
Riastradh has quit [Killed by zelazny.freenode.net (Nick collision)]
Riastradh has joined #ocaml
karryall has quit [bear.freenode.net irc.freenode.net]
pattern has quit [Excess Flood]
pattern has joined #ocaml
clog has quit [Killed by zelazny.freenode.net (Nick collision)]
cmeme has quit [Killed by zelazny.freenode.net (Nick collision)]
lambdawar has quit [Excess Flood]
clog_ is now known as clog
lambdawar has joined #ocaml
cmeme has joined #ocaml
gene9 has quit [bear.freenode.net irc.freenode.net]
gl has quit [bear.freenode.net irc.freenode.net]
smimou has quit [bear.freenode.net irc.freenode.net]
kosmikus has quit [bear.freenode.net irc.freenode.net]
skylan has quit [bear.freenode.net irc.freenode.net]
Smerdyakov has quit [bear.freenode.net irc.freenode.net]
gl has joined #ocaml
gene9 has joined #ocaml
Smerdyakov has joined #ocaml
smimou has joined #ocaml
skylan has joined #ocaml
kosmikus has joined #ocaml
maihem has quit ["Read error: 54 (Connection reset by chocolate)"]
gl is now known as gehel
bk_ has quit ["Leaving IRC - dircproxy 1.1.0"]
pac_away has joined #ocaml
pac_away is now known as pac_
<pac_> plop
cjohnson has quit [Connection timed out]
cjohnson has joined #ocaml
skylan_ has joined #ocaml
skylan_ has quit [Read error: 104 (Connection reset by peer)]
skylan_ has joined #ocaml
<vincenz> that's my line
gene9 has quit ["Client Exiting"]
skylan has quit [Connection timed out]
<magnus--> does anyone know a free debugger for SML?
bk_ has joined #ocaml
<dan|el> not me
CosmicRay has joined #ocaml
CosmicRay has quit ["Client exiting"]
pac_ is now known as pac_aw
psnively has joined #ocaml
<psnively> Good morning. :-)
maihem has joined #ocaml
psnively has left #ocaml []
cjohnson has quit [Connection timed out]
cjohnson has joined #ocaml
cri has joined #ocaml
<cri> hi
vezenchio has quit ["Join the fight against drunken calculus: Don't drink and derive!"]
<dan|el> morning
cri has left #ocaml []
smimou has quit ["?"]
smimou has joined #ocaml
psnively has joined #ocaml
cjohnson has quit [Connection timed out]
cjohnson has joined #ocaml
psnively has quit [Remote closed the connection]
cjohnson has quit [Connection timed out]
cjohnson has joined #ocaml
CosmicRay has joined #ocaml
cjohnson has quit [Connection timed out]
cjohnson has joined #ocaml
GSF has joined #ocaml
cjohnson has quit [Read error: 110 (Connection timed out)]
cjohnson has joined #ocaml
GSF has quit []
det_ is now known as det
<Snark> good night
Snark has left #ocaml []
mattam has quit [Read error: 110 (Connection timed out)]
maihem has quit ["Read error: 54 (Connection reset by chocolate)"]
mattam has joined #ocaml
<pac_aw> mattam: hi
pac_aw is now known as pac_
<mattam> hi
cjohnson has quit [Connection timed out]
cjohnson has joined #ocaml
ShereKahn has joined #ocaml
monotonom has joined #ocaml
cjohnson has quit [Connection timed out]
ShereKahn has quit [Read error: 110 (Connection timed out)]
bk_ has quit ["Leaving IRC - dircproxy 1.1.0"]
maihem has joined #ocaml
CosmicRay has quit ["Client exiting"]
buggs^z has joined #ocaml
greenrd has joined #ocaml
maihem has quit ["Read error: 54 (Connection reset by chocolate)"]
buggs has quit [Connection timed out]
skylan_ is now known as skylan
ionOS has quit ["Using KVIrc 3.0.1 'System Virtue'"]
cjohnson has joined #ocaml
monotonom has quit ["Don't talk to those who talk to themselves."]
magnus-- has quit ["Leaving"]
magnus-- has joined #ocaml