gildor changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | OCaml 3.12.1 http://bit.ly/nNVIVH
Cyanure has quit [Read error: Connection reset by peer]
ftrvxmtrx has quit [Quit: Leaving]
Cyanure has joined #ocaml
agarwal1975 has quit [Quit: agarwal1975]
Cyanure has quit [Read error: Connection reset by peer]
<corecode> thelema: curiosity. people say it is good
ousado has joined #ocaml
<thelema> corecode: they're right
Cyanure has joined #ocaml
Boscop has quit [Ping timeout: 240 seconds]
Cyanure has quit [Read error: Connection reset by peer]
arubin has joined #ocaml
ousado has quit [Changing host]
ousado has joined #ocaml
oriba has quit [Quit: oriba]
arubin has quit [Quit: arubin]
arubin has joined #ocaml
joewilliams has quit [Excess Flood]
gmcabrita has quit [Excess Flood]
joewilliams has joined #ocaml
gmcabrita has joined #ocaml
<tomprince> Has anybody created a python loadable module in ocaml?
<tomprince> I have code working if I access python from ocaml, and call back in. I'm just not sure how to invert control, so that python load the caml code.
<tomprince> After that, I want to figure out how to get ocaml and pythons threading to play nicely with each other.
<tomprince> Part of the problem seems to be that libasmrun.a is compiled without -fPIC. Is this due to my distro, or is that just how it is compiled?
<smango> I'm trying to marshall a variable but it's throwing an exception that says 'functional value'. Any clue what that means?
<sh4rm4> tomprince, .a is a statical library. you probably want a .so
<sh4rm4> and of course that should be compiled using -fPIC
<tomprince> sh4rm4: Yes, but i don't seem to have a libasmrun.so
<sh4rm4> so you have to find out how to generate it ;)
<tomprince> Hence my question here :)
ulfdoz has joined #ocaml
jimmyrcom has quit [Ping timeout: 256 seconds]
ankit9 has joined #ocaml
superbobry has joined #ocaml
arubin has quit [Quit: arubin]
Morphous has joined #ocaml
sh4rm4 has quit [Ping timeout: 248 seconds]
rwmjones has quit [Read error: Operation timed out]
hto has quit [Read error: Operation timed out]
Amorphous has quit [Read error: Operation timed out]
mlh has quit [Ping timeout: 252 seconds]
mlh has joined #ocaml
hto has joined #ocaml
sebz has joined #ocaml
<tomprince> So, compiling ocaml with -fPIC lets me link libasmrun.a
sebz has quit [Client Quit]
rwmjones has joined #ocaml
<tomprince> But now when I try and load my generated .so, (which loads dynamic ocaml modules), I get caml_equal not found from those modules.
sebz has joined #ocaml
ulfdoz has quit [Ping timeout: 240 seconds]
sh4rm4 has joined #ocaml
sebz has quit [Quit: Computer has gone to sleep.]
sebz has joined #ocaml
Kakadu has joined #ocaml
ygrek has joined #ocaml
sebz has quit [Quit: Computer has gone to sleep.]
ikaros has joined #ocaml
<Kakadu> hi!
<Kakadu> I have created some kind of manual about implementing inheritance in lablqt. https://github.com/Kakadu/lablqt/wiki/Inheritance
<Kakadu> What do you think about it?
ttamttam has joined #ocaml
<f[x]> smango, one cannot marshal closures
ikaros has quit [Quit: Ex-Chat]
edwin has joined #ocaml
beckerb has joined #ocaml
sebz_ has joined #ocaml
ikaros has joined #ocaml
maufred has joined #ocaml
ttamttam has quit [Ping timeout: 248 seconds]
beckerb has quit [Remote host closed the connection]
beckerb has joined #ocaml
ygrek has quit [Ping timeout: 248 seconds]
emmanuelux has joined #ocaml
ygrek has joined #ocaml
sebz_ has quit [Quit: Computer has gone to sleep.]
sebz_ has joined #ocaml
avsm has joined #ocaml
everyonemines has joined #ocaml
mcclurmc has quit [Excess Flood]
mcclurmc has joined #ocaml
destrius has quit [Quit: Leaving.]
sebz_ has quit [Quit: Computer has gone to sleep.]
everyonemines has quit [Quit: Leaving.]
ttamttam has joined #ocaml
ttamttam has quit [Quit: Leaving.]
ttamttam has joined #ocaml
Cyanure has joined #ocaml
larhat has joined #ocaml
ftrvxmtrx has joined #ocaml
thomasga has joined #ocaml
ftrvxmtrx has quit [Client Quit]
avsm has quit [Quit: Leaving.]
ftrvxmtrx has joined #ocaml
sebz has joined #ocaml
ftrvxmtrx has quit [Ping timeout: 256 seconds]
Cyanure has quit [Remote host closed the connection]
ftrvxmtrx has joined #ocaml
ftrvxmtrx has quit [Remote host closed the connection]
Cyanure has joined #ocaml
_andre has joined #ocaml
vivanov has joined #ocaml
sebz has quit [Quit: Computer has gone to sleep.]
<vivanov> in ocamlgsl, record Gsl_fun.gsl_fun_fdf used for root finding contains f, df, fdf. What is the difference among them?
<olasd> f is the function, df the derivative, and I guess fdf x should return (f x, df x)
<olasd> at least it looks this way, I never used gsl
<vivanov> olasd: thx :)
ikaros has quit [Ping timeout: 240 seconds]
_michi_ has joined #ocaml
vivanov has quit [Quit: Lost terminal]
_andre has quit [Quit: Lost terminal]
Associat0r has joined #ocaml
Associat0r has quit [Changing host]
Associat0r has joined #ocaml
_andre has joined #ocaml
ygrek has quit [Ping timeout: 248 seconds]
sepp2k has joined #ocaml
avsm has joined #ocaml
rntz has quit [Ping timeout: 258 seconds]
rntz has joined #ocaml
Cyanure has quit [Remote host closed the connection]
larhat1 has joined #ocaml
larhat has quit [Read error: Connection reset by peer]
emmanuelux has quit [Ping timeout: 240 seconds]
jonludlam has joined #ocaml
ikaros has joined #ocaml
pcjoby has left #ocaml []
mcclurmc has quit [Excess Flood]
mcclurmc has joined #ocaml
larhat1 has quit [Quit: Leaving.]
jonludlam has quit [Quit: jonludlam]
jonludlam1 has joined #ocaml
larhat has joined #ocaml
Associat0r has quit [Quit: Associat0r]
Boscop has joined #ocaml
jimmyrcom has joined #ocaml
Kakadu has quit [Quit: Page closed]
beckerb has quit [Read error: Operation timed out]
emmanuelux has joined #ocaml
avsm has quit [Quit: Leaving.]
larhat has quit [Quit: Leaving.]
jonludlam1 has quit [Remote host closed the connection]
avsm has joined #ocaml
beckerb has joined #ocaml
avsm1 has joined #ocaml
avsm has quit [Read error: Connection reset by peer]
Associat0r has joined #ocaml
Associat0r has quit [Changing host]
Associat0r has joined #ocaml
ikaros has quit [Quit: Ex-Chat]
avsm has joined #ocaml
avsm1 has quit [Read error: Connection reset by peer]
ztfw has joined #ocaml
hcarty has quit [Ping timeout: 258 seconds]
bobry has quit [Ping timeout: 240 seconds]
maufred has quit [Quit: leaving]
ygrek has joined #ocaml
<thelema> http://avdi.org/talks/confident-code-rubymidwest-2011/ <- interesting idea in the ruby community: coding confidently vs. coding timidly
ikaros has joined #ocaml
avsm has quit [Quit: Leaving.]
sh[4]rm4 has joined #ocaml
ygrek has quit [Ping timeout: 248 seconds]
sh4rm4 has quit [Ping timeout: 248 seconds]
ygrek has joined #ocaml
bobry has joined #ocaml
beckerb has quit [Remote host closed the connection]
ulfdoz has joined #ocaml
hcarty has joined #ocaml
avsm has joined #ocaml
sh[4]rm4 is now known as sh4rm4
<hcarty> thelema: "Confident coding" is one of the things that keeps me in the world of OCaml
<hcarty> thelema: Interesting slides. Thanks for the link.
<chambart> And with GADT there are even many cases where you can be more confident.
<chambart> distinguishing between empty and non empty option for instance
<tomprince> Is there any way to compile ocaml code to .so that can use dynlink?
<hcarty> chambart: I'm looking forward to playing around with GADTs in OCaml. I'm unfamiliar with them and what they provide. It will be fun to learn something new.
avsm has quit [Quit: Leaving.]
<chambart> hcarty: You can play with the svn version of the compiler ( and there are quite a few good examples in the typing tests )
<hcarty> chambart: I'll take a look at the tests, thanks. I haven't done much with OCaml svn trunk beyond peek at commit messages and the changelog every few weeks.
thomasga has quit [Quit: Leaving.]
_michi__ has joined #ocaml
ygrek has quit [Ping timeout: 248 seconds]
_michi_ has quit [Ping timeout: 252 seconds]
_michi__ is now known as _michi_
raichoo has joined #ocaml
avsm has joined #ocaml
vivanov has joined #ocaml
<vivanov> pls suggest root finding library
<vivanov> i only know ocamlgsl
<_habnabit> module Root_finder = struct let find () = "/" end
<bitbckt> hah
mcclurmc has quit [Excess Flood]
mcclurmc has joined #ocaml
sepp2k has quit [Ping timeout: 240 seconds]
sepp2k has joined #ocaml
<hcarty> vivanov: Christophe Troestler does a lot with OCaml + math. Something of his may be helpful if GSL doesn't have what you need: https://forge.ocamlcore.org/users/chris/
<hcarty> vivanov: Just a guess though.
_andre has quit [Quit: leaving]
<thelema> I wonder if he's already implemented Brent's method in ocaml - it looks like good code.
_andre has joined #ocaml
Snark has joined #ocaml
Snark has quit [Client Quit]
_michi_ has quit [Quit: ChatZilla 0.9.87 [SeaMonkey 2.3/20110818081843]]
_michi_ has joined #ocaml
_michi_ has quit [Remote host closed the connection]
_andre has quit [Quit: leaving]
ttamttam has quit [Ping timeout: 260 seconds]
raichoo has quit [Quit: leaving]
vivanov has quit [Remote host closed the connection]
Sysop_fb has joined #ocaml
avsm1 has joined #ocaml
avsm has quit [Read error: Connection reset by peer]
caligula_ has quit [Ping timeout: 240 seconds]
caligula_ has joined #ocaml
sepp2k has quit [Remote host closed the connection]
avsm1 has quit [Ping timeout: 258 seconds]
bobry has quit [Quit: Leaving.]
ulfdoz has quit [Ping timeout: 276 seconds]
ftrvxmtrx has joined #ocaml
edwin has quit [Remote host closed the connection]
sebz has joined #ocaml
sebz has quit [Client Quit]
agust1n has left #ocaml []
elehack has joined #ocaml
elehack has left #ocaml []
ftrvxmtrx has quit [Ping timeout: 248 seconds]
Morphous has quit [Read error: Operation timed out]
pheredhel has quit [Quit: ZNC by prozac - http://znc.sourceforge.net]
Morphous has joined #ocaml
olasd has quit [Quit: *Clic*]
ftrvxmtrx has joined #ocaml
Sysop_fb has quit []
sebz has joined #ocaml
ztfw has quit [Remote host closed the connection]
struktured has quit [Ping timeout: 256 seconds]
sebz has quit []
sebz has joined #ocaml
struktured has joined #ocaml
sebz_ has joined #ocaml
sebz has quit [Ping timeout: 240 seconds]
sebz_ is now known as sebz
m3ga has joined #ocaml
<m3ga> i've forgetten a bit of pattern matching syntax. its something like:
<m3ga> | Contructor lst where predicate lst -> (* code goes here *)
<m3ga> someone remind me what that is?
<_habnabit> looks fine to me ???
<m3ga> ok, i another problem then :-). thanks
<_habnabit> oh, except s/where/when/
<m3ga> actually i was trying to do "where lst = literal1 :: literal2 :: _" and i thing that requires a proper match .. with
<_habnabit> well, when you have an actual syntax error, show us ??
<m3ga> have it sorted now. my ocaml is a little rusty. need to fix that.
Associ8or has joined #ocaml
Associ8or has quit [Changing host]
Associ8or has joined #ocaml
Associat0r has quit [Ping timeout: 258 seconds]
sebz has quit [Quit: Computer has gone to sleep.]
sebz has joined #ocaml
sebz has quit [Client Quit]
Associ8or has quit [Quit: Associ8or]
destrius has joined #ocaml
ftrvxmtrx_ has joined #ocaml
sebz has joined #ocaml
sebz has quit [Client Quit]
ftrvxmtrx has quit [Ping timeout: 258 seconds]
ikaros has quit [Quit: Ex-Chat]
sebz_ has joined #ocaml
Associat0r has joined #ocaml
Associat0r has quit [Changing host]
Associat0r has joined #ocaml
sebz_ has quit [Quit: Computer has gone to sleep.]