gildor changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | OCaml 3.12.0 http://bit.ly/aNZBUp
Smerdyakov has joined #ocaml
smerz has quit [Quit: Ex-Chat]
ymasory has joined #ocaml
Smerdyakov has quit [Quit: Leaving]
joewilliams is now known as joewilliams_away
avsm1 has quit [Quit: Leaving.]
sepp2k has quit [Quit: Leaving.]
ymasory has left #ocaml []
ulfdoz_ has joined #ocaml
ulfdoz has quit [Ping timeout: 246 seconds]
ulfdoz_ is now known as ulfdoz
vivanov has joined #ocaml
philtor has quit [Ping timeout: 240 seconds]
Modius has quit [Quit: "Object-oriented design" is an oxymoron]
munga has quit [Ping timeout: 246 seconds]
vivanov has quit [Quit: Lost terminal]
vivanov has joined #ocaml
philtor has joined #ocaml
vivanov has quit [Quit: Lost terminal]
philtor has quit [Ping timeout: 240 seconds]
eye-scuzzy has joined #ocaml
schme is now known as schmx
schmx is now known as schmrkc
bacam has quit [Read error: Connection reset by peer]
ygrek has joined #ocaml
dnolen has quit [Quit: dnolen]
Cyanure has joined #ocaml
enthymeme has quit [Quit: rcirc on GNU Emacs 23.1.1]
ygrek has quit [Remote host closed the connection]
ygrek has joined #ocaml
ankit9 has joined #ocaml
edwin has joined #ocaml
Snark has joined #ocaml
Cyanure has quit [Ping timeout: 258 seconds]
bacam has joined #ocaml
Anarchos has joined #ocaml
pdhborges has joined #ocaml
pdhborges has quit [Quit: Leaving.]
ikaros has joined #ocaml
Associat0r has quit [Quit: Associat0r]
pdhborges has joined #ocaml
chambart has quit [Ping timeout: 240 seconds]
chambart has joined #ocaml
Yoric has joined #ocaml
ygrek has quit [Ping timeout: 250 seconds]
Yoric has quit [Quit: Leaving.]
pdhborges has quit [Ping timeout: 240 seconds]
Associat0r has joined #ocaml
Reaganomicon has joined #ocaml
ygrek has joined #ocaml
pdhborges has joined #ocaml
Reaganomicon has quit [Ping timeout: 250 seconds]
smerz has joined #ocaml
pdhborges has quit [Quit: Leaving.]
Reaganomicon has joined #ocaml
hnrgrgr has quit [Remote host closed the connection]
hnrgrgr has joined #ocaml
ftrvxmtrx has quit [Quit: Leaving]
Modius has joined #ocaml
ski has quit [Ping timeout: 246 seconds]
ski has joined #ocaml
pdhborges has joined #ocaml
pkrnjevic has joined #ocaml
ulfdoz has quit [Ping timeout: 240 seconds]
smerz has quit [Quit: Ex-Chat]
<pkrnjevic> i'm trying to use ocamlbuild from ocaide, but can't see how to use -use-ocamlfind … help, please!
pkrnjevic has quit [Quit: Leaving.]
ski has quit [Read error: Operation timed out]
ski has joined #ocaml
smerz has joined #ocaml
ski has quit [Ping timeout: 260 seconds]
emmanuelux has joined #ocaml
ski has joined #ocaml
Anarchos has quit [Quit: Vision[0.9.7-H-090423]: i've been blurred!]
ski has quit [Read error: Operation timed out]
ski has joined #ocaml
emmanuelux has quit [Ping timeout: 255 seconds]
ski has quit [Ping timeout: 260 seconds]
ski has joined #ocaml
jamii has joined #ocaml
pdhborges has quit [Quit: Leaving.]
pkrnjevic has joined #ocaml
ski has quit [Ping timeout: 260 seconds]
Anarchos has joined #ocaml
Yoric has joined #ocaml
Tobu has quit [Ping timeout: 260 seconds]
ski has joined #ocaml
Yoric has quit [Read error: Connection reset by peer]
Yoric1 has joined #ocaml
Tobu has joined #ocaml
pkrnjevic has quit [Quit: Leaving.]
dnolen has joined #ocaml
boscop has quit [Ping timeout: 255 seconds]
boscop has joined #ocaml
pdhborges has joined #ocaml
pdhborges has left #ocaml []
ftrvxmtrx has joined #ocaml
joewilliams_away is now known as joewilliams
boscop has quit [Ping timeout: 255 seconds]
Tobu has quit [Ping timeout: 248 seconds]
boscop has joined #ocaml
Tobu has joined #ocaml
avsm has joined #ocaml
oriba has joined #ocaml
boscop has quit [Ping timeout: 248 seconds]
boscop has joined #ocaml
Yoric1 has quit [Quit: Leaving.]
rixed has joined #ocaml
boscop_ has joined #ocaml
boscop has quit [Ping timeout: 250 seconds]
lopex has joined #ocaml
pkrnjevic has joined #ocaml
pkrnjevic has quit [Client Quit]
vivanov has joined #ocaml
vivanov has quit [Client Quit]
jamii has quit [Ping timeout: 255 seconds]
vivanov has joined #ocaml
pdhborges has joined #ocaml
pdhborges has left #ocaml []
<adrien> what's the lexify ocaml<->.Net interface?
Cyanure has joined #ocaml
munga has joined #ocaml
joewilliams is now known as joewilliams_away
sepp2k has joined #ocaml
<thelema> adrien: http://www.lexifi.com/csml
<adrien> thanks, I ended up finding it (but the results from search engines were pretty bad)
Snark has quit [Quit: Ex-Chat]
Cyanure has quit [Quit: Quitte]
Yoric has joined #ocaml
emmanuelux has joined #ocaml
pkrnjevic has joined #ocaml
Anarchos has quit [Quit: Vision[0.9.7-H-090423]: i've been blurred!]
Anarchos has joined #ocaml
munga has quit [Ping timeout: 250 seconds]
<krktz> hi
<krktz> i'm looking for some more elegant way to do this :
<krktz> type t = A | B | C | D
<krktz> let to_int = function | A -> 0 | B -> 1 | C -> 2 | D -> 3
<krktz> do you have an idea?
<thelema> krktz: pa_do
<thelema> there's some camlp4 that will auto-generate that kind of code for you
<krktz> ok
<krktz> wouldn't it be possible with Object.magic?
<krktz> it looks like it works but can I be sure that it will be in the same order as during the definition?
<thelema> it is possible, as variants without parameters are identical to 0, 1, 2, 3
Anarchos has quit [Quit: Vision[0.9.7-H-090423]: i've been blurred!]
Anarchos has joined #ocaml
<thelema> krktz: # type t = A | B | C | D;;
<thelema> type t = A | B | C | D
<thelema> # let to_int (x:t) = (Obj.magic x : int);;
<thelema> val to_int : t -> int = <fun>
<thelema> # to_int A, to_int B, to_int C, to_int D;;
<thelema> - : int * int * int * int = (0, 1, 2, 3)
oriba_ has joined #ocaml
<krktz> thanks :)
oriba has quit [Ping timeout: 244 seconds]
vivanov has quit [Quit: Lost terminal]
boscop_ has quit [Ping timeout: 255 seconds]
* ygrek wonders whether it is possible to build ocaml llvm bindings without building actually whole llvm?
oriba_ is now known as oriba
EM03 has joined #ocaml
<pkrnjevic> it seems my ocaide / ocamlbuild -use-ocamlfind problem is related to eclipse not picking up $PATH when launched from Dock - works find if eclipse launched from terminal. <sigh>
<thelema> ah, your path changes are in ~/.bashrc?
pdhborges has joined #ocaml
<pkrnjevic> most likely
<pkrnjevic> actually in ~/.profile which is invoked via ~/.bashrc
<pkrnjevic> does osx support /etc/environment? and would that be picked up anyway?
<pkrnjevic> my work around is to create a couple of sh scripts to set path and launch eclipse - dumb but "good enough"
<pdhborges> are you talking about setting the PATH for normal apps in mac os?
<pdhborges> there is a special plist file somewhere to do that
<pkrnjevic> actually my godi bin path so ocamlbuld will find ocamlfind under ocaide
<pkrnjevic> ah, i'm a 20+ year *nix guy but new to osx … i know plist exists, but that's about it
sirGrey has joined #ocaml
<pkrnjevic> pdhborges: nice! thanks
<pkrnjevic> Apple seems to have forgotten some of the KISS principal preferred by freebsd et al
<pdhborges> yeah the plist solution is wierd
Anarchos has quit [Quit: Vision[0.9.7-H-090423]: i've been blurred!]
ygrek has quit [Ping timeout: 250 seconds]
edwin has quit [Remote host closed the connection]
dnolen has quit [Quit: dnolen]
pkrnjevic has quit [Quit: Leaving.]
sirGrey has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
oriba has left #ocaml []
Yoric has quit [Quit: Leaving.]
mcclurmc_home has quit [Ping timeout: 250 seconds]
philtor has joined #ocaml
munga has joined #ocaml
philtor has quit [Read error: Operation timed out]
lopex has quit []
ikaros has quit [Quit: Ex-Chat]
lopex has joined #ocaml
joewilliams_away is now known as joewilliams
Amorphous has quit [Ping timeout: 240 seconds]
munga has quit [Ping timeout: 255 seconds]
pdhborges has left #ocaml []
Amorphous has joined #ocaml