smkl 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
gim_ has quit ["bonne nuit a tous !"]
mimosa has quit ["J'ai fini"]
Nutssh has quit ["Client exiting"]
cjohnson has left #ocaml []
cjohnson has joined #ocaml
rox has quit [Connection timed out]
rox has joined #ocaml
Kinners has quit [Read error: 110 (Connection timed out)]
mr_jim has joined #ocaml
cjohnson has quit ["Drawn beyond the lines of reason"]
Hipo_ has joined #ocaml
DiabloEMN has quit [brunner.freenode.net irc.freenode.net]
reltuk has quit [brunner.freenode.net irc.freenode.net]
buggs^z has quit [brunner.freenode.net irc.freenode.net]
themus has quit [brunner.freenode.net irc.freenode.net]
gim has quit [brunner.freenode.net irc.freenode.net]
Hipo has quit [brunner.freenode.net irc.freenode.net]
xaroby has joined #ocaml
themus has joined #ocaml
reltuk has joined #ocaml
buggs^z has joined #ocaml
isomorphic has joined #ocaml
mr_jim has left #ocaml []
isomorphic has left #ocaml []
xaos has joined #ocaml
<xaos> stupid newbie question: i have " type 'a free_tree = Leaf of 'a | Tree of 'a free_tree list;; type node = { tree: node free_tree ; ...} ;;" -- the compiler doesn't like it
<xaos> I'm trying to make a tree of strings/objects i can hang width/depth information off of. I think i'm just stuck in a C-mindset =)
xaos is now known as jbm____
<jbm____> err, wait, nevermind. i'm just a moron
jbm____ has quit ["there _is_ such a thing as a stupid question. doh."]
Nutssh has joined #ocaml
ita is now known as ita|cafeine
cleverdra has joined #ocaml
xaroby has quit []
gim has joined #ocaml
d2004xx has quit ["Miranda IM! Smaller, Faster, Easier. http://miranda-im.org"]
d2004xx has joined #ocaml
Nutssh has quit ["Client exiting"]
blueshoe has joined #ocaml
Hipo_ is now known as Hipo
rox has quit ["Client exiting"]
rox has joined #ocaml
wazze has quit ["Learning about how the end letters on French words are just becoming more and more silent, I conclude that one day the French]
d2004xx has quit ["Miranda IM! Smaller, Faster, Easier. http://miranda-im.org"]
vect has quit ["BitchX: treats external genital warts!"]
vect has joined #ocaml
d2004xx has joined #ocaml
d2004xx has quit [Client Quit]
d2004xx has joined #ocaml
d2004xx has quit [Read error: 104 (Connection reset by peer)]
d2004xx has joined #ocaml
ita|cafeine is now known as bad_trip
Nutssh has joined #ocaml
<blueshoe> is there a list somewhere of how well ocaml did in each icfp contest?
<blueshoe> ahh... ocaml.org
<blueshoe> :)
<Nutssh> ICFP is starting?
<blueshoe> not that i know of
gim_ has joined #ocaml
<blueshoe> i have seen an announcement of the ICFP conference... but i don't know if that's related to the contest
<vect> usually, ifcp takes place in summer, nutssh
<Nutssh> Ok.
<blueshoe> except, iirc, they did say somehting about awarding a programming contest prize at the conference... could be wrong, though
yinnte has joined #ocaml
<vect> yinnte ? :)
<Nutssh> I believe that that price is for the winners of the ICFP contest.
<Nutssh> Thats the presentation part.
housetier has joined #ocaml
yinnte has quit []
det has quit [Read error: 110 (Connection timed out)]
det has joined #ocaml
reltuk has quit ["Lost terminal"]
blueshoe has quit ["bbl"]
pattern has quit []
pattern has joined #ocaml
karryall has joined #ocaml
DiabloEMN has joined #ocaml
Swynndla has quit ["Leaving"]
whiskas has joined #ocaml
<whiskas> Hello.
<Nutssh> hi.
Nutssh has quit ["Client exiting"]
buggs^z has quit [Read error: 60 (Operation timed out)]
whiskas has quit [Read error: 54 (Connection reset by peer)]
<Maddas> b /quit
bad_trip is now known as ita
_JusSx_ has joined #ocaml
The-Fixer has quit ["Goodbye"]
d2004xx has quit ["Miranda IM! Smaller, Faster, Easier. http://miranda-im.org"]
d2004xx has joined #ocaml
<pattern> is it possible to use map to perform the logical OR operation on a list of booleans? (i don't want to know the actual code to do this, just if it's possible)
<pattern> there should be no postprocessing of the list after the map function is done
<pattern> so, the result of "map f [true;false]" should be true, somehow, for some mysterious function f
<pattern> even though map returns a list
<pattern> doesn't sound possible to me, unless f itself contains some sort of private variable that gets updated when it evaluates its argument as true
<pattern> or something
<DiabloEMN> hum, doesn't applies just on each element of the list?
<DiabloEMN> you should use a folder
<pattern> map does indeed apply on each element of hte list
<pattern> yeah, but the problem is to use map
<pattern> it's an exercise
<mellum> Considering the type of map, it's obviously not possible.
<pattern> and i think the author must have not explained what he meant correctly, or somehting
<pattern> mellum, well, it's clearly not possible to change its return type... i thought it might be possible as a side-effect, though
<pattern> it's either that or it's not possible at all, from where i'm sitting
<mellum> pattern: That's possible, but it doesn't make a lot of sense.
<pattern> no, it doesn't, does it?
<pattern> oh, wait!
<pattern> i misread the exercise... it was to use a fold like function after all
<pattern> bleh, it's late
<DiabloEMN> well, with fold it makes much more sense...
<pattern> well, it was fun trying to figure that out
<pattern> yeah
<pattern> with fold it's obvious
<karryall> pattern: the "problem" with fold is that you're going to scan all the list whereas you might want to stop as soon as you encounter a true value
Tamagucci has joined #ocaml
smklsmkl is now known as smkl
cjohnson has joined #ocaml
cjohnson has quit [Client Quit]
cjohnson has joined #ocaml
cjohnson has quit ["Drawn beyond the lines of reason"]
Tamagucci has left #ocaml []
<pattern> i have a function that's coming out all wrong all wrong -> http://www.rafb.net/paste/results/S3158577.html
<pattern> i want to apply like so: reduceb ( -. ) 1.0 [1.0;2.0;3.0] and it should return 1.0
<pattern> hmmm... i just had an idea...
<pattern> ok, that was stupid
<pattern> the l argument should have been ommited, as that's what the function keyword is for
<pattern> and there's a much easier way to write this too, which is to just add g to the end of l and call reduce
mr_jim has joined #ocaml
beleg has joined #ocaml
det has quit ["Death to all fanatics!"]
det has joined #ocaml
The-Fixer has joined #ocaml
<det> The-Fixer: hello
<det> The-Fixer: interested in ocaml ?
<Nomme> no he came here in order to learn something about mammals species in desert
<Maddas> The-Fixer: wrong channel then
<Maddas> :)
<Nomme> :)
yinnte has joined #ocaml
<Nomme> yinnte: hello
<Nomme> yinnte: interested in ocaml ?
<yinnte> Nomme- hi, yes i do
<yinnte> s/do/am/
<Nomme> ok.
<Nomme> so am i :)
<yinnte> are you an expert ?
<Nomme> not at all: i never know which one of the dromedary or the camel have two bumps
<Nomme> *has
beleg has left #ocaml []
<yinnte> ;)
<mr_jim> dromedary has one hump,
<yinnte> thx
<mr_jim> np
<mr_jim> ;-)
<Nomme> we are now expert
<yinnte> yes of course
mr_jim has quit ["Leaving"]
Maddas has left #ocaml []
mimosa has joined #ocaml
mimosa has quit [Client Quit]
mimosa has joined #ocaml
karryall has quit ["home"]
giedi has joined #ocaml
wazze has joined #ocaml
The-Fixer has quit [Read error: 110 (Connection timed out)]
giedi has left #ocaml []
The-Fixer has joined #ocaml
whiskas has joined #ocaml
Maddas has joined #ocaml
cjohnson has joined #ocaml
mimosa has quit ["J'ai fini"]
mimosa has joined #ocaml
yinnte has quit [Read error: 60 (Operation timed out)]
Nutssh has joined #ocaml
yinnte has joined #ocaml
Swynndla_wk has joined #ocaml
yinnte has quit ["ChatZilla 0.9.35 [Mozilla rv:1.5/20031119]"]
rox has quit [Remote closed the connection]
mattam_ has joined #ocaml
_JusSx__ has joined #ocaml
mattam has quit [Read error: 110 (Connection timed out)]
_JusSx_ has quit [Read error: 110 (Connection timed out)]
rox has joined #ocaml
housetier has quit ["#breaks @ irc.highteq.de"]
cjohnson has quit ["Drawn beyond the lines of reason"]
_JusSx__ has quit ["BitchX has bite! (Just ask Mike Tyson!)"]
The-Fixer has quit ["Goodbye"]
wazze has quit ["Learning about how the end letters on French words are just becoming more and more silent, I conclude that one day the French]
Nomme has quit ["Leaving"]
The-Fixer has joined #ocaml
The-Fixer has quit []
wazze has joined #ocaml
Nutssh has quit ["Client exiting"]
Nutssh has joined #ocaml
buggs has joined #ocaml
gim_ has quit ["dodo"]
mimosa has quit ["J'ai fini"]
mattam_ is now known as mattam
The-Fixer has joined #ocaml