<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)]
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>
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)]