Alpounet changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | 3.11.1 out now! Get yours from http://caml.inria.fr/ocaml/release.html - Answer OCaml Meeting 2010 poll https://forge.ocamlcore.org/survey/survey.php?group_id=77&survey_id=1
Thyssen has joined #ocaml
<Thyssen> hi foks
valross has joined #ocaml
Thyssen has left #ocaml []
munga_ has quit [Read error: 113 (No route to host)]
prince has quit [Client Quit]
reid99 has quit [Read error: 110 (Connection timed out)]
reid99 has joined #ocaml
lanaer_ is now known as lanaer
verte has joined #ocaml
tmaedaZ is now known as tmaeda
psnively has joined #ocaml
psnively has left #ocaml []
thieusoai has quit ["leaving"]
Amorphous has quit [Read error: 110 (Connection timed out)]
Amorphous has joined #ocaml
_unK has quit [Remote closed the connection]
Modius has quit [Read error: 54 (Connection reset by peer)]
Modius has joined #ocaml
caligula__ has quit [Read error: 60 (Operation timed out)]
caligula__ has joined #ocaml
Ched has quit [Read error: 113 (No route to host)]
Mr_Awesome has joined #ocaml
tar_ has quit []
ccasin has quit ["Leaving"]
mlh has quit [Read error: 110 (Connection timed out)]
Ched has joined #ocaml
verte has quit ["~~~ Crash in JIT!"]
ikaros has joined #ocaml
ztfw` has quit [Remote closed the connection]
Mr_Awesome has quit [Read error: 104 (Connection reset by peer)]
ski_ has joined #ocaml
reid99 has quit [Read error: 104 (Connection reset by peer)]
ikaros has quit ["Leave the magic to Houdini"]
ozzloy has quit [Read error: 60 (Operation timed out)]
ttamttam has joined #ocaml
ozzloy has joined #ocaml
Yoric[DT] has joined #ocaml
ttamttam has quit ["Leaving."]
thrasibule has quit [Read error: 110 (Connection timed out)]
ygrek has joined #ocaml
ttamttam has joined #ocaml
Yoric[DT] has quit ["Ex-Chat"]
mishok13 has joined #ocaml
onigiri has quit []
munga_ has joined #ocaml
thrasibule has joined #ocaml
_zack has joined #ocaml
rwmjones-afk is now known as rwmjones
dmentre has joined #ocaml
Ched has quit [Read error: 113 (No route to host)]
tmaeda is now known as tmaedaZ
kaustuv has joined #ocaml
verte has joined #ocaml
verte has quit [Read error: 54 (Connection reset by peer)]
_andre has joined #ocaml
verte has joined #ocaml
spicey has joined #ocaml
valross has quit [Read error: 110 (Connection timed out)]
spicey has quit [Client Quit]
munga_ has quit [Read error: 148 (No route to host)]
Alpounet has joined #ocaml
reid99 has joined #ocaml
ikaros has joined #ocaml
BigJ2 has quit [Read error: 145 (Connection timed out)]
tmaedaZ is now known as tmaeda
verte has quit ["~~~ Crash in JIT!"]
ikaros has quit ["Leave the magic to Houdini"]
Associat0r has joined #ocaml
thrasibule has quit [Read error: 110 (Connection timed out)]
_unK has joined #ocaml
hto_ has joined #ocaml
Associat0r has quit []
_unK has quit [Remote closed the connection]
_unK has joined #ocaml
Ched has joined #ocaml
Alpounet has quit ["``Do what you think you can't do.'' -- E. Roosevelt"]
<flux> hey, I didn't know metacaml could do this: http://zwizwa.be/-/staapl-blog/20080927-103024
<flux> should be advertised more, that's exactly what I was looking for earlier :)
<flux> hm, actually, maybe not.. but still quite cool
<Camarade_Tux> hmmm, it makes me think about C bindings :P
<Camarade_Tux> the limitation that it can only return base types is pretty bad but I'm sure that could be improved
<flux> too bad it requires another fork of ocaml itself..
<Camarade_Tux> yeah =/
<flux> also apparently there is has definitely not been intended for binding libraries, it's purely for performance
<flux> but then again it's nice that it allows type-safe generation of C-code, sans bounds checking though
<flux> the examples in http://www.infosun.fmi.uni-passau.de/cl/arbeiten/Langhammer.pdf seem pretty convincing (for example performing a convolution on a bitmap is faster in C) [disclaimer: I didn't read conclusions yet, I'm just assuming ;)]
<flux> bah, I don't think that particular example even used offshoring :)
<Camarade_Tux> flux: yeah, didn't seem meant for bindings, I only thought about that because of ocaml-gir :P
<Camarade_Tux> btw, anyone using haxe here? (just curious)
dmentre has quit ["Leaving."]
ztfw has joined #ocaml
kaustuv has quit [Read error: 148 (No route to host)]
Alpounet has joined #ocaml
ski_ has quit ["Lost terminal"]
thelema has quit [Read error: 131 (Connection reset by peer)]
thelema has joined #ocaml
Guest5618 is now known as fremo
_unK has quit [Remote closed the connection]
ttamttam has quit ["Leaving."]
ikaros has joined #ocaml
lutter has joined #ocaml
onigiri has joined #ocaml
rwmjones is now known as rwmjones_afk
smimou_ is now known as smimou
julm_ has joined #ocaml
_zack has quit ["Leaving."]
julm__ has joined #ocaml
julm_ has quit [Read error: 104 (Connection reset by peer)]
BigJ2 has joined #ocaml
BigJ2_ has joined #ocaml
julm has quit [Read error: 110 (Connection timed out)]
<flux> camarade_tux, on our university channel someone asked maybe a year ago about a decent language for web developement, and I suggested that maybe haxe would be interesting to try
<flux> camarade_tux, apparently he did like it
<flux> (I haven't tried it)
<flux> just an anecdote ;)
BigJ2 has quit [Read error: 110 (Connection timed out)]
_unK has joined #ocaml
_unK has quit [Remote closed the connection]
itewsh has joined #ocaml
_unK has joined #ocaml
_unK has quit [Remote closed the connection]
Yoric[DT] has joined #ocaml
_unK has joined #ocaml
ttamttam has joined #ocaml
_unK has quit [Remote closed the connection]
itewsh has quit [Read error: 113 (No route to host)]
<Camarade_Tux> flux: ok :)
<Camarade_Tux> I have a portable music (and movie) player which interface is in flash, I'll probably use haxe to change it and add programs :)
<Camarade_Tux> (it needs a pdf reader :D )
_unK has joined #ocaml
anders^^ has joined #ocaml
anders^^ has left #ocaml []
<infoe> is there a graph database implemented in ocaml?
<mrvn> I think there a bindings
<mrvn> at least for graph plotting.
<infoe> no a database predicated on graph theory vs set theory
itewsh has joined #ocaml
itewsh has quit ["Quitte"]
itewsh has joined #ocaml
<thelema> infoe: I don't know what you expect by a graph "database", but look up ocamlgraph for a graph (as in vertex and edge) library
jimmyb2187 has left #ocaml []
ulfdoz has joined #ocaml
<infoe> thelema: something like neo4j
<Camarade_Tux> (the twitter thing on the right side of http://neo4j.org/ really scares me)
<infoe> same here :/
<infoe> i think the guy in the black and white photo has been drinking at work
<thelema> infoe: nope, I'm fairly certain that noone has implemented anything like neo4j in ocaml
itewsh has quit ["Quitte"]
<infoe> which states: "we plan to use a functional implementation (probably OCAML...)
<infoe> "
<thelema> they're targeting redhat 9 - this is *old*
<infoe> oh yea its old information, but i was looking specifically for graph database and ocaml in google
_andre has quit ["*puff*"]
Snark has joined #ocaml
yziquel has joined #ocaml
BigJ2_ has quit [Read error: 104 (Connection reset by peer)]
<yziquel> hi. imagine i have a module in a given a.ml file. how can i include it in another b.ml file without needing to link b.ml to a.ml. is an "include" sufficient?
<thelema> what do you mean by "link b.ml to a.ml"?
<thelema> if you have code in a.ml, you can refer to it from b.ml as [A.foo]
<thelema> you will have to compile both and link them together to get an executable.
<yziquel> i do not want module A to be visible from the .cma. However, I need to generate a.ml at compile time. my problem is having A into b.ml only, while generating a.ml at compile time.
<thelema> you need to generate the source code for A at compile time?
<hcarty> yziquel: Will the interface stay fixed? "include A" is one option. Providing b.mli is another.
<thelema> you *do* need to generate a.ml at compile time.
ygrek has quit [Remote closed the connection]
<thelema> I think [include A] won't do what you want, because B will still need A, so A will get compiled in.
<yziquel> hcarty: not sure what you mean by the interface staying fixed. "include A" seems fine?
<hcarty> yziquel: In PLplot, a large portion of the code is generated at compile time. "include Foo" prevents the generated module from the interface.
<thelema> hcarty: prevents?
<hcarty> thelema: Sorry - mistyped. "prevents the generated module name from _showing up in_ the module interface"
<thelema> yes, it does. But it exposes everything in that module. But if hiding the name is all you need...
<hcarty> Yeah. Anything more than just hiding the include'd module name would probably be accomplished best with b.mli
<yziquel> the thing is i generate a rstdenv.ml file. i do not want a Rstdenv module, but a R.StdEnv submodule.
<hcarty> yziquel: In r.ml: "module StdEnv = struct include Rstdenv end" should do that.
<hcarty> yziquel: If I understand what you are trying to do correctly.
kaustuv has joined #ocaml
<yziquel> hcarty: but can I leave out rstdenv.cmo from the .cma file?
<hcarty> yziquel: I'm not sure.
<hcarty> yziquel: You could try with a simple a.ml and b.ml to test.
julm has joined #ocaml
Mr_Awesome has joined #ocaml
Modius_ has joined #ocaml
ttamttam has quit ["Leaving."]
Modius has quit [Read error: 145 (Connection timed out)]
julm has quit [Read error: 60 (Operation timed out)]
yziquel has quit [sendak.freenode.net irc.freenode.net]
yziquel has joined #ocaml
ulfdoz has quit [Read error: 145 (Connection timed out)]
julm__ has quit [Read error: 110 (Connection timed out)]
julm has joined #ocaml
valross has joined #ocaml
Snark has quit ["Ex-Chat"]
julm_ has joined #ocaml
begonzo has joined #ocaml
begonzo has quit [Client Quit]
begonzo has joined #ocaml
begonzo has quit [Remote closed the connection]
julm has quit [Read error: 110 (Connection timed out)]
ztfw has quit [Connection timed out]
julm has joined #ocaml
julm_ has quit [Read error: 104 (Connection reset by peer)]
ikaros has quit ["Leave the magic to Houdini"]
godbe has joined #ocaml
<godbe> Hi! I want to start writing a compiler and I would like to do it in ocaml
<godbe> onde I saw a site providing a "tutorial" for building a compiler with ocaml but i can't find it anymore
Yoric[DT] has quit ["Ex-Chat"]
<mfp> godbe: maybe this one, using LLVM as the backend? http://llvm.org/docs/tutorial/OCamlLangImpl1.html
<godbe> mfp: that was not the tutorial I was looking for but it wil certainly do
<godbe> ThanksQ