flux changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | Grab OCaml 3.10.2 from http://caml.inria.fr/ocaml/release.html (featuring new camlp4 and more!)
tomh has quit ["http://www.mibbit.com ajax IRC Client"]
Kopophex has quit ["Leaving"]
LordMetroid has joined #ocaml
Morphous has joined #ocaml
marmotine has joined #ocaml
Morphous_ has quit [Read error: 110 (Connection timed out)]
LordMetroid has quit ["Leaving"]
Ched- has joined #ocaml
jlouis has quit [Remote closed the connection]
marmotine has quit ["Quitte"]
struktured has joined #ocaml
struktured is now known as structured
seafood has joined #ocaml
seafood has quit []
Associat0r has joined #ocaml
seafood has joined #ocaml
seafood has quit []
seafood has joined #ocaml
bluestorm has joined #ocaml
netx has quit [Read error: 110 (Connection timed out)]
bluestorm has quit ["Konversation terminated!"]
netx has joined #ocaml
Associat0r has quit [Read error: 104 (Connection reset by peer)]
Ched- has left #ocaml []
Ugarte has quit [Remote closed the connection]
Ugarte has joined #ocaml
Ugarte has quit [Remote closed the connection]
Ugarte has joined #ocaml
xevz_ has joined #ocaml
Snark has joined #ocaml
filp has joined #ocaml
fremo_ has joined #ocaml
TaXules_ has joined #ocaml
jdev has quit [Remote closed the connection]
jdev has joined #ocaml
xevz has quit [Read error: 110 (Connection timed out)]
xevz_ is now known as xevz
jeremiah has quit [Read error: 110 (Connection timed out)]
jeremiah has joined #ocaml
fremo has quit [Read error: 110 (Connection timed out)]
TaXules has quit [Read error: 104 (Connection reset by peer)]
filp has quit ["Bye"]
Yoric[DT] has joined #ocaml
structured has quit [Read error: 110 (Connection timed out)]
filp has joined #ocaml
filp has quit [Client Quit]
seafood has quit []
Associat0r has joined #ocaml
Yoric[DT] has quit ["Ex-Chat"]
jeremiah has quit [Read error: 104 (Connection reset by peer)]
asmanur has joined #ocaml
asmanur_ has joined #ocaml
asdfi has joined #ocaml
asmanur has quit [Read error: 110 (Connection timed out)]
struk_atwork2 has joined #ocaml
Jedai has joined #ocaml
<asdfi> is it possible to configure ocaml to recognize c,php syntax ? something like that already exists ?
struk_atwork has quit [Read error: 110 (Connection timed out)]
guillem has joined #ocaml
rwmjones has joined #ocaml
<flux> I suppose it is possible
<flux> however C semantics are difficult to implement
<flux> pointer arithmetics, etc
munga has joined #ocaml
LordMetroid has joined #ocaml
ppsmimou has quit ["Leaving"]
hkBst has joined #ocaml
ppsmimou has joined #ocaml
TaXules_ is now known as TaXules
OChameau has joined #ocaml
jlouis has joined #ocaml
qwr has quit [Remote closed the connection]
qwr has joined #ocaml
bluestorm has joined #ocaml
coucou747 has joined #ocaml
<bluestorm> gildor_: i'm getting tired of the continuous "OCaml Journal" advertisement reaching my aggregator through OCaml Planet
asmanur_ has quit [Remote closed the connection]
asmanur has joined #ocaml
tomh has joined #ocaml
<gildor_> bluestorm: humm, we had a discussion about this among ocamlcore.org admin
tomh has quit ["http://www.mibbit.com ajax IRC Client"]
<gildor_> bluestorm: i tend to agree that "this is commercial link"
<gildor_> bluestorm: i just need to know how to explain Mr Harrop that we will suspend his feed from the planet
struktured has joined #ocaml
asdfi has quit []
bluestorm has quit [Remote closed the connection]
Associat0r has quit []
szell` has quit [Read error: 110 (Connection timed out)]
qwr has quit [Remote closed the connection]
coucou747 has quit ["putain jsuis trop con"]
<orbitz> gildor_: good luck with that
RobertFischer has joined #ocaml
seafood has joined #ocaml
<rwmjones> ha ha ... /me was thinking just the same thing
<rwmjones> I really would like to know why camlp4 cannot locate error messages properly all the time .. I just spent an hour debugging an error in some code, only to realise that the camlp4 error message was pointing to the wrong location
Jedai has quit [Read error: 113 (No route to host)]
RobertFischer_ has joined #ocaml
Jedai has joined #ocaml
marmotine has joined #ocaml
det has joined #ocaml
hkBst has quit ["Konversation terminated!"]
RobertFischer has quit [Read error: 110 (Connection timed out)]
seafood has quit [Read error: 104 (Connection reset by peer)]
seafood has joined #ocaml
seafood has quit [Client Quit]
seafood has joined #ocaml
RobertFischer_ has quit ["Taking off -- check out http://smokejumperit.com and http://enfranchisedmind.com/blog/"]
szell has joined #ocaml
RobertFischer has joined #ocaml
bluestorm has joined #ocaml
Yoric[DT] has joined #ocaml
seafood has quit []
struk_atwork2 is now known as struk_atwork
Jedai has quit [Read error: 113 (No route to host)]
Yoric[DT] has quit ["Ex-Chat"]
Jedai has joined #ocaml
AxleLonghorn has joined #ocaml
AxleLonghorn has left #ocaml []
jonafan_ has joined #ocaml
<rwmjones> excellent, finished implementing persistent patterns in bitmatch ... http://et.redhat.com/~rjones/bitmatch/html/Bitmatch_persistent.html
jonafan has quit [Read error: 110 (Connection timed out)]
LordMetroid has quit [Read error: 110 (Connection timed out)]
<bluestorm> let set_lident { foo = _loc } id = <:patt< $lid:id$ >>
<bluestorm> hm
<bluestorm> { loc = _loc }, actually
<bluestorm> rwmjones: is it a specific design choice to hide the "field" type and give all the getters/setters instead ? better compatibility ?
<rwmjones> bluestorm, slight future proofing, but I take your point
<rwmjones> bluestorm, where's that 'foo'?
<bluestorm> foo was a part of my in-toplevel test code actually :-'
<bluestorm> the idea was to use record pattern matching instead of the let _loc = ... in
<bluestorm> (and i was mistaken again, as your field name is '_loc' and not 'loc' )
<rwmjones> 9 lines of code to implement 'df' ...
<bluestorm> ('df' ?)
<bluestorm> rwmjones: there is something is find slightly annoying, but i'm not sure there is a good solution
<bluestorm> you refer directly to the Camlp4.PreCast types
<bluestorm> thus making impossible to functorize your syntax extension (as i suppose Bitmatch_persistent.pattern and your extension types wouldn't match anymore)
<rwmjones> bluestorm, the overuse of functors in camlp4 confuses me deeply .. however if you want to submit a patch ....
Linktim has joined #ocaml
<bluestorm> of course, syntax extension functorization is only a theoretical advantage right now
<rwmjones> bluestorm, for df see virt-df ...http://et.redhat.com/~rjones/virt-df/
<bluestorm> ah, that df :p
<rwmjones> I'm working on a project called virt-mem where we parse structures directly out of a running Linux kernel
<rwmjones> hence the need to be able to import large numbers of C structures
<rwmjones> because we want to import every version of a few Linux structures, as they've altered over time
filp has joined #ocaml
<bluestorm> rwmjones: the functors would be useful if someone wanted to use your syntax extension on top of another syntax (that the PreCast one). However, it's not likely to happen, and probably not worth the effort. If someone needs it eventually, it should not be too difficult, but he will need to functorize Bitchmatch_persistent too (breaking the type compatibility with the current version).
<rwmjones> I'd defer that decision then .. a hypothetical user of the revised syntax could confine use of bitmatch to one file in the original syntax so ...
jonafan_ is now known as jonafan
Linktim_ has joined #ocaml
Linktim has quit [Read error: 110 (Connection timed out)]
r0bby has quit [Connection timed out]
RobertFischer has quit []
Linktim- has joined #ocaml
tomh has joined #ocaml
rwmjones has quit ["Closed connection"]
AxleLonghorn has joined #ocaml
AxleLonghorn has left #ocaml []
Linktim_ has quit [Read error: 110 (Connection timed out)]
Linktim_ has joined #ocaml
Linktim- has quit [Read error: 110 (Connection timed out)]
ygrek has joined #ocaml
gaja has joined #ocaml
Linktim- has joined #ocaml
Ched- has joined #ocaml
Linktim_ has quit [Read error: 110 (Connection timed out)]
Yoric[DT] has joined #ocaml
Linktim- has quit [Read error: 110 (Connection timed out)]
AxleLonghor1 has joined #ocaml
Snark has quit ["Ex-Chat"]
Associat0r has joined #ocaml
Linktim has joined #ocaml
rwmjones has joined #ocaml
Ched- has quit [Read error: 104 (Connection reset by peer)]
Ched- has joined #ocaml
Axioplase has joined #ocaml
Axioplase has quit [Client Quit]
Linktim_ has joined #ocaml
Jeff_123 has joined #ocaml
AxleLonghor1 has left #ocaml []
Linktim has quit [Connection timed out]
ygrek has quit [Remote closed the connection]
pango has joined #ocaml
filp has quit ["Bye"]
Demitar has quit [Read error: 110 (Connection timed out)]
Demitar has joined #ocaml
Jeff_123_ has joined #ocaml
Jeff_123_ has quit [Client Quit]
asmanur has quit [Remote closed the connection]
Jeff_123 has quit [Read error: 110 (Connection timed out)]
tomh has quit ["http://www.mibbit.com ajax IRC Client"]
vbmithr has quit ["leaving"]
guillem has quit [Remote closed the connection]
struk_atwork2 has joined #ocaml
Ched- has left #ocaml []
struk_atwork2 has quit [Connection reset by peer]
struk_atwork2 has joined #ocaml
guillem has joined #ocaml
guillem has quit [Read error: 104 (Connection reset by peer)]
Linktim- has joined #ocaml
struk_atwork has quit [Read error: 110 (Connection timed out)]
struk_atwork2 has quit ["Leaving"]
rwmjones has quit ["Closed connection"]
Linktim_ has quit [Read error: 110 (Connection timed out)]
marmotine has quit ["Quitte"]
Linktim- has quit [Read error: 110 (Connection timed out)]
bzzbzz has joined #ocaml
Jeff_123 has joined #ocaml
tlh24 has joined #ocaml
<tlh24> hey why does this not work? : let g_raw = ref (Raw.create `float 1)
<tlh24> says: "vontains type vaiables that cannot be generalized"
<tlh24> =~ /^v/c/
<pango> don't constructors require a capital ?
<tlh24> hum Raw.Create -> syntax error
<pango> create is probably not a constructor, but a function; I was thinking of `float
<tlh24> yea, gotcha.
<Yoric[DT]> No, polymorphic variants don't need capitals.
<tlh24> ugh, I guess i have to encapsulate it in a class
<Yoric[DT]> On the other hand, the syntax might be (`float 1)
<tlh24> let graw = Raw.create `float 1
<tlh24> works, but then I can't change it.
<Yoric[DT]> What's Raw anyway ?
<tlh24> raw array for drawing triangles using opengl
<tlh24> Glarray.vertex `two graw ;
<tlh24> GlArray.draw_arrays `lines 0 (Raw.length graw /2) ;
<tlh24> (that's for lines..)
<Yoric[DT]> Oh, ok.
<Yoric[DT]> Either I haven't used that GL binding or I don't remember it.
<Yoric[DT]> Anyway, its time to call it a night.
<Yoric[DT]> Cheers.
<tlh24> bye then
<tlh24> sticking it in a class seems to have solved the problem, btw
<Yoric[DT]> ok
Yoric[DT] has quit ["Ex-Chat"]
Jeff_123 has quit [Read error: 104 (Connection reset by peer)]
tomh has joined #ocaml
Jeff_123 has joined #ocaml
shortcircuit has joined #ocaml
arquebus has joined #ocaml
arquebus has quit [Remote closed the connection]
love-pingoo has joined #ocaml
Jedai has quit ["KVIrc 3.4.0 Virgo http://www.kvirc.net/"]