gildor changed the topic of #ocaml to: "Discussions about the OCaml programming language | http://caml.inria.fr/ | OCaml 3.12.0+rc1 http://permalink.gmane.org/gmane.comp.lang.caml.inria/49387
Anarchos has left #ocaml []
jjd27 has joined #ocaml
|marius| has joined #ocaml
|marius| has quit [Remote host closed the connection]
|marius| has joined #ocaml
mfp has joined #ocaml
travisbrady has quit [Quit: travisbrady]
liftM has joined #ocaml
|marius| has quit [Remote host closed the connection]
<krankkatze> how may I exit the programm?
joewilliams_away is now known as joewilliams
<liftM> krankkatze: use the exit function. For instance: exit 0;;
<krankkatze> thanks
aja has joined #ocaml
joewilliams is now known as joewilliams_away
seafood has quit [Quit: seafood]
liftM has quit [Ping timeout: 252 seconds]
<Associat0r> what is the most elegant OCaml GUI lib out there?
msteele_ has quit [Ping timeout: 265 seconds]
philtor has quit [Read error: Operation timed out]
msteele has joined #ocaml
seafood has joined #ocaml
seafood has quit [Client Quit]
|marius| has joined #ocaml
seafood has joined #ocaml
seafood has quit [Quit: seafood]
seafood has joined #ocaml
seafood has quit [Client Quit]
seafood has joined #ocaml
seafood has quit [Client Quit]
seafood has joined #ocaml
aja has quit [Read error: Connection reset by peer]
Modius has joined #ocaml
msteele has quit [Quit: Changing server]
seafood has quit [Quit: seafood]
jakedouglas has quit [Quit: Leaving.]
ygrek_ has joined #ocaml
Amorphous has quit [Ping timeout: 276 seconds]
Modius has quit [Ping timeout: 276 seconds]
Amorphous has joined #ocaml
Associat0r has quit [Quit: Associat0r]
ygrek_ has quit [Remote host closed the connection]
|marius| has quit [Remote host closed the connection]
ygrek_ has joined #ocaml
xmarteo has joined #ocaml
ikaros has joined #ocaml
sepp2k has joined #ocaml
ulfdoz has joined #ocaml
verte has joined #ocaml
seafood has joined #ocaml
Vassia has joined #ocaml
Vassia has left #ocaml []
ttamttam has joined #ocaml
ftrvxmtrx has quit [Quit: Leaving]
ftrvxmtrx has joined #ocaml
Anarchos has joined #ocaml
seafood has quit [Read error: Connection reset by peer]
seafood_ has joined #ocaml
seafood_ has quit [Client Quit]
Anarchos has quit [Ping timeout: 240 seconds]
Yoric has joined #ocaml
Vassia has joined #ocaml
Vassia has quit [Ping timeout: 240 seconds]
ikaros has quit [Quit: Leave the magic to Houdini]
ttamttam has quit [Quit: Leaving.]
Vassia has joined #ocaml
Vassia has quit [Ping timeout: 258 seconds]
Anarchos has joined #ocaml
Yoric has quit [Quit: Yoric]
ulfdoz_ has joined #ocaml
Anarchos has quit [Read error: Connection reset by peer]
Anarchos has joined #ocaml
ulfdoz has quit [Ping timeout: 260 seconds]
yziquel has joined #ocaml
Tianon has quit [Read error: Operation timed out]
Tianon has joined #ocaml
Tianon has quit [Changing host]
Tianon has joined #ocaml
dark has quit [Ping timeout: 265 seconds]
ulfdoz_ has quit [Quit: Reconnecting]
ulfdoz has joined #ocaml
dark has joined #ocaml
Vassia has joined #ocaml
Vassia has quit [Ping timeout: 260 seconds]
Associat0r has joined #ocaml
verte has quit [Quit: ~~~ Crash in JIT!]
jakedouglas has joined #ocaml
jakedouglas has quit [Quit: Leaving.]
yziquel has quit [Ping timeout: 252 seconds]
Vassia has joined #ocaml
Vassia has quit [Ping timeout: 260 seconds]
chee has quit [Read error: Connection reset by peer]
chee has joined #ocaml
jakedouglas has joined #ocaml
jakedouglas has quit [Quit: Leaving.]
Asmadeus has quit [Ping timeout: 260 seconds]
npouillard has quit [Ping timeout: 252 seconds]
mehdid has quit [Quit: Reconnecting]
gildor has quit [Ping timeout: 265 seconds]
chee has quit [Ping timeout: 265 seconds]
mihamina has joined #ocaml
liftM has joined #ocaml
<mihamina> HI all
<liftM> Hi!
npouillard has joined #ocaml
<mihamina> I want to build a recursive function that convert ["a", "b", "c",..."x"] to (x,(...(c,(b,a)))), and I tried: http://pastebin.org/415588 but get type error
|marius| has joined #ocaml
<mihamina> how to ?
Asmadeus has joined #ocaml
<sepp2k> mihamina: Such a function would have a different return type depending on the length of the input list, so it's not possible.
chee has joined #ocaml
gildor has joined #ocaml
<coucou747> sepp2k, Obj.magic :D
mehdid has joined #ocaml
patronus has quit [Ping timeout: 240 seconds]
mehdid has quit [Client Quit]
mehdid has joined #ocaml
<coucou747> type 'a t = 'a * 'a t
<coucou747> let rec totuple ( li : 'a list ) : 'a t = match li with
<coucou747> | hd::tl -> Obj.magic (hd, totuple tl)
<coucou747> | [] -> Obj.magic ()
<coucou747> :D the toplvl segfault
<coucou747> the first obj.magic is useless
<coucou747> mihamina, it's a bad idea to do this kind of function
patronus has joined #ocaml
mehdid has quit [Ping timeout: 248 seconds]
adrien has quit [Ping timeout: 276 seconds]
gildor has quit [Ping timeout: 258 seconds]
toner has joined #ocaml
gildor has joined #ocaml
mehdid has joined #ocaml
adrien has joined #ocaml
<mihamina> coucou747: I understant
mehdid has quit [Client Quit]
mehdid has joined #ocaml
<mihamina> do you know ocsigen?
<coucou747> I work for mlstate
<mihamina> uh
<coucou747> and ocsigen is hum... a neighboor
<coucou747> in Paris
<coucou747> ocsigen is developped near Paris VII (an university)
<coucou747> and mlstate developp OPA (a compiler for a web language) in ocaml, in a building near Paris VII
<coucou747> I have some fiends who works for ocsigen
Vassia has joined #ocaml
<coucou747> so yes I know some parts of this project
<mihamina> alright. I try to build a web form from a list, in ocsigen
<mihamina> the list has variable length
<Anarchos> i used ocaml 3.10.2 with a cvs repo, how to convert to the new svn ?
<mihamina> but to build a form, in ocsigen, you build a function : http://ocsigen.org/eliom/manual/1.3.0/1#p1forms
<mihamina> have a look at create_form
Vassia has quit [Ping timeout: 240 seconds]
afreq has joined #ocaml
thieusoai has quit [Ping timeout: 258 seconds]
<Associat0r> guys what is the most elegant GUI lib for OCaml?
<Associat0r> from a code standpoint
npouillard has quit [Ping timeout: 252 seconds]
thieusoai has joined #ocaml
npouillard has joined #ocaml
|marius| has quit [Remote host closed the connection]
<dark> Associat0r, i don't know, but i would use lablgtk
<dark> just because i'm familiar with pygtk and C gtk interface
<Associat0r> I'm looking for the most OCaml like approach
<dark> It uses the rich type system of Objective Caml 3 to provide a strongly typed, yet very comfortable, object-oriented interface to gtk+. This is not that easy if you know the dynamic typing approach taken by gtk+.
<dark> it looks like it uses ocaml well
<Associat0r> thanks for advice
npouillard has quit [Read error: Operation timed out]
npouillard has joined #ocaml
chee has quit [Ping timeout: 276 seconds]
chee has joined #ocaml
ygrek_ has quit [Ping timeout: 245 seconds]
mjonsson has joined #ocaml
Vassia has joined #ocaml
Vassia has quit [Ping timeout: 248 seconds]
|marius| has joined #ocaml
jakedouglas has joined #ocaml
bluestorm has joined #ocaml
chee has quit [Ping timeout: 265 seconds]
adrien has quit [Ping timeout: 260 seconds]
gildor has quit [Ping timeout: 260 seconds]
adrien has joined #ocaml
gildor has joined #ocaml
chee has joined #ocaml
xmarteo has quit [Quit: Debian GNU/Hurd is Good.]
liftM has quit [Ping timeout: 252 seconds]
sepp2k has quit [Quit: Leaving.]
m00npirate has joined #ocaml
<m00npirate> just curious since google cant search for symbols, what does this syntax mean: {< stuff >}
<Anarchos> m00npirate in which context ?
<m00npirate> there are some assignment statements in it
<Anarchos> records with only some fields modified ?
<m00npirate> method mymethod () = {< var1 = ref something; var2 = ref somethingelse >}
<m00npirate> doesnt have := either which is weird
<bluestorm> it's an object copy
<m00npirate> ahh ok
<m00npirate> that makes sense
<bluestorm> it means "a copy of the current object with the following changes to the object attributes"
<m00npirate> ahhhhh
<m00npirate> awesome
<m00npirate> thanks all
liftM has joined #ocaml
m00npirate has left #ocaml []
Associat0r has quit [Read error: Connection reset by peer]
Associat0r has joined #ocaml
liftM has quit [Quit: Page closed]
jakedouglas has quit [Quit: Leaving.]
ulfdoz has quit [Ping timeout: 248 seconds]
seafood has joined #ocaml
litM has joined #ocaml
seafood has quit [Client Quit]
seafood has joined #ocaml
jakedouglas has joined #ocaml
coucou747 has quit [Remote host closed the connection]