mjonsson has quit [Remote host closed the connection]
mjonsson has joined #ocaml
Smerdyakov has quit [Quit: Leaving]
_unK has quit [Remote host closed the connection]
CoryDambach has joined #ocaml
gregwire has quit [Remote host closed the connection]
valross has joined #ocaml
jakedouglas has quit [Quit: Leaving.]
ulfdoz has joined #ocaml
joewilliams is now known as joewilliams_away
ulfdoz has quit [Ping timeout: 255 seconds]
Yoric has joined #ocaml
ygrek has joined #ocaml
Snark has joined #ocaml
ftrvxmtrx has quit [Quit: Leaving]
hcarty has quit [Remote host closed the connection]
ygrek has quit [Ping timeout: 245 seconds]
Yoric has quit [Quit: Yoric]
Amorphous has quit [Ping timeout: 272 seconds]
Amorphous has joined #ocaml
ikaros has joined #ocaml
ftrvxmtrx has joined #ocaml
aj2009 has joined #ocaml
aj2009 has quit [Remote host closed the connection]
Yoric has joined #ocaml
Yoric_ has joined #ocaml
Yoric has quit [Read error: Connection reset by peer]
Yoric_ is now known as Yoric
Yoric has quit [Quit: Yoric]
Yoric has joined #ocaml
ygrek has joined #ocaml
mfp has joined #ocaml
barismetin has joined #ocaml
ftrvxmtrx has quit [Quit: Leaving]
ftrvxmtrx has joined #ocaml
ftrvxmtrx has quit [Quit: Leaving]
ftrvxmtrx has joined #ocaml
ikaros has quit [Quit: Leave the magic to Houdini]
ikaros has joined #ocaml
bitbckt has quit [Ping timeout: 245 seconds]
bitbckt has joined #ocaml
ttamttam has joined #ocaml
valross has quit [Quit: Ex-Chat]
_unK has joined #ocaml
ygrek has quit [Ping timeout: 245 seconds]
_unK has quit [Remote host closed the connection]
_unK has joined #ocaml
oriba has joined #ocaml
mlh has left #ocaml []
Yoric has quit [Read error: Connection reset by peer]
Yoric has joined #ocaml
Yoric has quit [Read error: Connection reset by peer]
oriba_ has joined #ocaml
oriba has quit [Ping timeout: 265 seconds]
oriba_ has quit [Client Quit]
oriba_ has joined #ocaml
oriba_ has left #ocaml []
metasyntax has quit [Quit: ♫ In our sky there is no limits, and masters we have none; heavy metal is the only one! ♫]
Yoric has joined #ocaml
ikaros has quit [Quit: Leave the magic to Houdini]
ikaros has joined #ocaml
_andre has joined #ocaml
_unK has quit [Remote host closed the connection]
jakedouglas has joined #ocaml
ygrek has joined #ocaml
_unK has joined #ocaml
mjonsson has quit [Ping timeout: 272 seconds]
jakedouglas has quit [Quit: Leaving.]
jakedouglas has joined #ocaml
BiDOrD has joined #ocaml
<BiDOrD>
Hi
<BiDOrD>
If I have a 2 files "a.ml" and "b.ml" is there way that a.ml can use B.ident AND b.ml can use A.ident ?
<Yoric>
Not really
<BiDOrD>
"Not really" ? or "not at all" ?
<flux>
no. however, there are several ways to work around the issue. for example, A can have a mutable field ident that is mutated by B to match the one it means.
<BiDOrD>
okay
<BiDOrD>
thanks a lot
<flux>
another way is to use the module system and tie the knot in a third module
<flux>
I've used objects with relative success, although my interfaces were still defined in one module
<BiDOrD>
ok
ygrek has quit [Ping timeout: 245 seconds]
joewilliams_away is now known as joewilliams
hcarty has joined #ocaml
<thomasga>
is there any regular expression library written in pure ocaml (ie. not PCRE and Str ?)
<gildor>
thomasga: I remember a piece of code doing that
<thomasga>
I just need something vaguelly compatible with PERL regexps (but not as powerfull)
<thomasga>
(I mean compatible with the syntax of PERL regexps)
<thomasga>
but the gildor's link looks perfect to me
<gildor>
thomasga: I only have tested it once, more than 3 years ago, didn't even remember if it works or not
<gildor>
thomasga: tell us if you are able to compile/use it
ccasin has joined #ocaml
boscop has joined #ocaml
boscop_ has quit [Ping timeout: 240 seconds]
_unK has quit [Remote host closed the connection]
Edward has joined #ocaml
ftrvxmtrx has quit [Quit: Leaving]
barismetin has quit [Remote host closed the connection]
_unK has joined #ocaml
asmanur_ has joined #ocaml
asmanur has quit [Ping timeout: 276 seconds]
sepp2k has quit [Quit: sepp2k]
init1 has joined #ocaml
<flux>
so. I have a frest godi setup installed. I want to install stuff, but I don't want to install conf-x11. how do I find out what I cannot install if I won't install conf-x11?
<hcarty>
flux: I've run in to that before - the solution I came up with was trial and error :-)
<hcarty>
I was only interested in a small number of packages at that point, so it didn't take long
<flux>
well, that is the case for me as well, so I just walked through the deps of all packages.. seems like a suboptimal solution, though ;)
ftrvxmtrx has joined #ocaml
<hcarty>
flux: "godi_console dep -help" may be a start, but it's not obvious to me how/if this would help.
ulfdoz has joined #ocaml
<adrien>
I grep each file in the godi prefix
<adrien>
the dependencies are written somewhere in clear (or inside an archive that gets extracted when it is tried (and failed))
ozzloy has quit [Read error: Connection reset by peer]
Edward has quit []
Snark has quit [Quit: Ex-Chat]
ozzloy has joined #ocaml
ozzloy has left #ocaml []
init1 has quit [Quit: Quitte]
init1 has joined #ocaml
init1 has quit [Quit: Quitte]
_unK has quit [Remote host closed the connection]
yezariaely has joined #ocaml
<yezariaely>
I have a strange Unbound constructor error. perhaps someone can give me a hint how to solve this.
<hcarty>
adrien: That's probably the best approach using existing tools - I think all of the dependency information is in the GODI Makefile
<adrien>
yezariaely: which one? :P
<yezariaely>
adrien: sorry?
<adrien>
hcarty: it's brute force but it works ;-)
<adrien>
yezariaely: which one is unbound?
<yezariaely>
ah yeah :D should have mentioned that Error: Unbound constructor Rsignedshift_assign
<hcarty>
adrien: It doesn't catch packages further down the chain, unfortunately.
<hcarty>
yezariaely: It works here, replacing the first "and" with "type" and the second "and" with "let"
<adrien>
hcarty: still doable by hand but I'd really like to have this in godi: I spent quite a lot of time trying to figure out how I ended up requiring lablgl once
<hcarty>
lablgl seems to get pulled in by everything...
<hcarty>
adrien: I agree
<adrien>
not by many things, but there is a pretty long chain that ends up with lablgl
<yezariaely>
hcarty: hmm it is only an excerpt of the whole AST. I use the following command to compile it. maybe that is the problem?!
<adrien>
but why link against ulex? doesn't look like you're using it
<adrien>
and why camlp4o?
<adrien>
also, String.concat (including the construction of a list) is probably faster than using (^) several times
<yezariaely>
adrien: the thing is, I am really new to Ocaml and have to work with it. I know ulex, however I have no clue what camlp4o is for. The build command is automatically generated by a makefile, and other files do use ulex and probably (?) camlp4o
<yezariaely>
(and I did not code that)
<adrien>
yezariaely: camlp4o is a (powerful) preprocessor, doesn't look like you're using it (but it's quite hard to say)
<adrien>
ok
<yezariaely>
so maybe I remove the camlp4o and try it again?
<yezariaely>
-?
<adrien>
oh
<adrien>
I put your definition in the toplevel:
<adrien>
| Lshift_assign (* <<= *)
<adrien>
| Rsignedshift_assign (* >>= *)
<adrien>
| Runsignedshift_assign (* >>>= *)
<adrien>
ocaml returned me:
<adrien>
| Lshift_assign
<adrien>
| Runsignedshift_assign
<adrien>
I actually had thought about that but thought it couldn't be: try withou the <<= and >>= comments
<adrien>
or "break" them: it looks like <<= is making troubles...
<adrien>
for a fun effect, you can put Lshit_assign _after_ both R*signedshift_assign
<yezariaely>
adrien: cool. I already like ocaml ;)
<yezariaely>
many thanks for your help!
<adrien>
=)
<adrien>
now, where is the bug from... ?
<yezariaely>
good question, I tried a few things... and if I remove the camlp4o then it does compile
<yezariaely>
but one file. which needs the campl4o
<hcarty>
yezariaely: << and >> have special meanings with camlp4 IIRC. I didn't think they would cause problems in comments.
<yezariaely>
ok now I removed every << and >> in the sources and everything compiles fine =)
<yezariaely>
thx alot, hcarty and adrien
yezariaely has left #ocaml []
uho has joined #ocaml
<uho>
im getting a type mismatch where its expecting an int instead of an int option, any idea why?