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
Tobu has joined #ocaml
letrec has joined #ocaml
cyphase has quit [Ping timeout: 246 seconds]
cyphase has joined #ocaml
Cyanure has quit [Remote host closed the connection]
mnabil has joined #ocaml
mietek has joined #ocaml
letrec has quit [Ping timeout: 240 seconds]
KDr2 has joined #ocaml
mnabil has quit [Remote host closed the connection]
asdfhjkl has quit [Quit: Leaving]
milosn has joined #ocaml
milosn_ has quit [Ping timeout: 252 seconds]
ulfdoz_ has joined #ocaml
ulfdoz has quit [Ping timeout: 252 seconds]
ulfdoz_ is now known as ulfdoz
milosn_ has joined #ocaml
milosn has quit [Ping timeout: 260 seconds]
Tobu has quit [Ping timeout: 272 seconds]
lamawithonel has joined #ocaml
Tobu has joined #ocaml
lamawithonel has quit [Client Quit]
emmanuelux has quit [Ping timeout: 260 seconds]
oriba has quit [Ping timeout: 260 seconds]
mjonsson has joined #ocaml
philtor has joined #ocaml
Drakken has quit [Ping timeout: 252 seconds]
Drakken has joined #ocaml
Tobu has quit [Ping timeout: 272 seconds]
twittard has quit [Quit: twittard]
Tobu has joined #ocaml
twittard has joined #ocaml
Transformer has joined #ocaml
Transformer has quit [Excess Flood]
philtor has quit [Ping timeout: 252 seconds]
mjonsson has quit [Remote host closed the connection]
MaskRay has joined #ocaml
MaskRay has quit [Changing host]
MaskRay has joined #ocaml
jimmyrcom has quit [Ping timeout: 265 seconds]
Tobu has quit [Ping timeout: 260 seconds]
albacker has joined #ocaml
albacker has quit [Changing host]
albacker has joined #ocaml
cdidd has joined #ocaml
Tobu has joined #ocaml
ftrvxmtrx has quit [Quit: Leaving]
pango is now known as pangoafk
Submarine has joined #ocaml
Submarine has quit [Changing host]
Submarine has joined #ocaml
MaskRay has quit [Remote host closed the connection]
Submarine has quit [Read error: Operation timed out]
ulfdoz has quit [Quit: deprecated]
ulfdoz has joined #ocaml
ulfdoz has quit [Ping timeout: 246 seconds]
silver has joined #ocaml
ftrvxmtrx has joined #ocaml
djcoin has joined #ocaml
albacker has quit [Quit: Leaving]
<adrien> hi
<djcoin> hi
cago has joined #ocaml
tnguyen has joined #ocaml
Tobu has quit [Ping timeout: 272 seconds]
Submarine has joined #ocaml
Submarine has quit [Changing host]
Submarine has joined #ocaml
Cyanure has joined #ocaml
Tobu has joined #ocaml
Tobu has quit [Remote host closed the connection]
Tobu has joined #ocaml
<emias> Hm
<emias> ww
avsm has joined #ocaml
Kakadu has joined #ocaml
<adrien> xx
oriba has joined #ocaml
<Ptival> xy
avsm has quit [Quit: Leaving.]
avsm has joined #ocaml
oriba has quit [Quit: oriba]
KDr2 has quit [Read error: Connection reset by peer]
Tobu has quit [Ping timeout: 272 seconds]
_andre has joined #ocaml
datkin has quit [Ping timeout: 264 seconds]
Tobu has joined #ocaml
Cyanure has quit [Ping timeout: 272 seconds]
ulfdoz has joined #ocaml
Cyanure has joined #ocaml
letrec has joined #ocaml
mnabil has joined #ocaml
iZsh has quit [Ping timeout: 260 seconds]
iZsh has joined #ocaml
Tobu has quit [Ping timeout: 272 seconds]
iago has joined #ocaml
Tobu has joined #ocaml
KDr2 has joined #ocaml
Snark has joined #ocaml
Cyanure has quit [Ping timeout: 260 seconds]
thomasga has joined #ocaml
emmanuelux has joined #ocaml
mcclurmc has quit [Read error: Connection reset by peer]
jimmyrcom has joined #ocaml
ikaros has joined #ocaml
ikaros has quit [Quit: Ex-Chat]
iago has quit [Quit: Leaving]
jonathandav has joined #ocaml
potapov has joined #ocaml
potapov has left #ocaml []
Kakadu has quit [Quit: Page closed]
<Drakken> Where is the best place to ask advanced camlp4 questions? I've aske a couple here, but I've never gotten an answer.
<Drakken> The first two options that come to mind for me would be the OCaml mailing list or emailing the authors directly.
<adrien> mailing-list
<adrien> caml-list*
<olasd> i'd go for the caml-list too
cdidd has quit [Remote host closed the connection]
<mehdid> is there something that takes a source directory and an .ml file and produces a self-contained .ml file?
<mehdid> a well placed cat would do that… but I was wondering if there was something written already
<adrien> it would extract all the needed function definitions from files in the source directory?
<mehdid> yes
<mehdid> (and open statements)
<adrien> never heard of one; if you find or make one, could you let me know about it? :-)
<mehdid> heh, sure
<Ptival> depending on the size of the project, it might become a nightmare to compile :s
<mehdid> of course. I never said that it was approriate to use such things everywhere :)
<adrien> sqlite's amalgation!
asdfhjkl has joined #ocaml
<hcarty> mehdid: Does ocp-pack do what you want? http://www.ocamlpro.com/blog/2011/08/10/ocaml-pack-functors.html
benozol has joined #ocaml
KDr2 has quit [Remote host closed the connection]
MaskRay has joined #ocaml
MaskRay has quit [Changing host]
MaskRay has joined #ocaml
avsm has quit [Quit: Leaving.]
smondet has joined #ocaml
<mehdid> hcarty: it looks like what I want, thanks!
<mehdid> (the produced file doesn't compile though :))
benozol has quit [Quit: Konversation terminated!]
Submarine has quit [Quit: Leaving]
<hcarty> mehdid: Good luck tweaking it to your needs - or tweaking your code to ocp-pack's requirements :-)
<mehdid> already done… I got my large file :)
MaskRay has quit [Quit: leaving]
chambart has quit [Ping timeout: 245 seconds]
<hcarty> Excellent! Please let us (#ocaml) know how it goes.
<thelema> mehdid: there's one other related thing to what you're asking, oasis-bundle
Ptival has quit [Ping timeout: 265 seconds]
chambart has joined #ocaml
<mehdid> is it bundle.ml? it looks a generated file… but which tool produced it?
silver has quit [Remote host closed the connection]
<thelema> mehdid: hmm, I recall sylvain having built his cool project to bundle a project with its deps into a single tarball, but I can't seem to find the code to do that. Maybe it's in his ocsigen-bundler package...
<thelema> project
<thelema> or maybe that only works on ocsigen projects
ftrvxmtrx has quit [Quit: Leaving]
twittard has quit [Remote host closed the connection]
twittard has joined #ocaml
<thelema> well, maybe that will have code useful to you. I thought he had written something more general, but maybe not.
<mehdid> It is not general and it doesn't produce an .ml file, but a bundle. But thanks for the suggestion. It was an interesting read :)
Kakadu has joined #ocaml
xenocons has quit [Ping timeout: 255 seconds]
xenocons has joined #ocaml
albacker has joined #ocaml
albacker has quit [Changing host]
albacker has joined #ocaml
cago has quit [Quit: Leaving.]
tnguyen has quit [Quit: ChatZilla 0.9.88.1 [Firefox 10.0.3/20120309135702]]
Tianon has joined #ocaml
Tianon has quit [Changing host]
Tianon has joined #ocaml
albacker has quit [Quit: Leaving]
letrec has quit [Ping timeout: 252 seconds]
thomasga has quit [Ping timeout: 245 seconds]
Cyanure has joined #ocaml
mnabil has quit [Remote host closed the connection]
lorill has joined #ocaml
<lorill> i made a css for ocamldoc, if anyone is interested : http://vfiack.fr/ocaml/doc/
<lorill> there are a few things i can't do due to the outputed html, would it be better to add a module as an ocamldoc plugin, or would trying to evolve the default html output be accepted ?
Tobu has quit [Remote host closed the connection]
ftrvxmtrx has joined #ocaml
oriba has joined #ocaml
<hcarty> lorill: That looks very nice
<lorill> thanks. There's an empty <h1> in the first page that bothers me, and the fact that the navbar isn't always there
<adrien> there are several things I like too =)
<lorill> + the types aren't in a <pre> like the rest of the code
<hcarty> lorill: There has been some discussion around ocamldoc on the bug tracker recently. Changes may be more readily accepted if you can present something in plugin form first.
<lorill> ok, thanks for the info. Could I have a link to the related bug ?
Tobu has joined #ocaml
Tobu has quit [Remote host closed the connection]
<hcarty> lorill: It's not directly related, but it does involve modifying ocamldoc - http://caml.inria.fr/mantis/view.php?id=5533
<hcarty> In that case it's talking about allowing cross-library references in ocamldoc
<_andre> i have an oasis package that defines two Library sections, and both use the same InternalModules definition
<_andre> if i try to use both libraries, i get a compilation error saying that this internal module is defined twice
<_andre> is there a way around this?
Tobu has joined #ocaml
<_andre> the module in question is Str_conv
<lorill> hcarty: thanks. I'll see what I can do with a module
twittard has quit [Quit: twittard]
oriba_ has joined #ocaml
oriba has quit [Ping timeout: 252 seconds]
<hcarty> _andre: It worked in the version I uploaded on oasis-db
<hcarty> _andre: But I need to find which fork I took that .tar.gz from...
<_andre> hm i wasn't aware of that :)
<hcarty> _andre: I'm fairly certain it was from here - https://github.com/bitbckt/ocaml-uint/tree/oasis
<_andre> the only change seems to be that you put Str_conv in Modules instead of InternalModules
<hcarty> _andre: With that version (bitbckt's oasis branch) I was able to build uint and zeromq with odb
djcoin has quit [Quit: WeeChat 0.3.2]
twittard has joined #ocaml
<_andre> hcarty: zeromq only uses uint.uint64 it seems
<_andre> i think if it used uint32 or uint128 too it would have the same problem
Submarine has joined #ocaml
Submarine has quit [Changing host]
Submarine has joined #ocaml
<hcarty> _andre: Does the failure happen when the library is used, or when the library is built?
<_andre> when it's used
<_andre> actually
<_andre> when i tried to build an executable that uses it
<hcarty> Ah, ok
<_andre> the error is this:
<_andre> Error: Files /usr/local/lib/ocaml/3.12.0/uint/uint32.cmxa and /usr/local/lib/ocaml/3.12.0/uint/uint64.cmxa both define a module named Str_conv
<hcarty> Ah. I think you would either need to pack the modules, or put everything into a Uint module, with other modules available under that.
<_andre> but then one wouldn't be able to use just one of them like ZMQ does, right?
<mrvn> Name them Uint32.Str_conv and UInt64.Str_conv
<_andre> mrvn: but it's actually the same module used by both
<mrvn> Then you need to keep it as seperate module and not include it in both cmxa files
<_andre> Error: Files /usr/local/lib/ocaml/3.12.0/uint/uint32.cmxa and /usr/local/lib/ocaml/3.12.0/uint/uint64.cmxa both define a module named Str_convthe file "lib/str_conv.cmx" is included in more than one active library'
<_andre> ouch
<_andre> trying to compile a test executable inside ocaml-uint gives me this:
<_andre> 'the file "lib/str_conv.cmx" is included in more than one active library'
<_andre> this used to work when i used OCamlMakefile
<_andre> i'm not sure what's being done different
pangoafk is now known as pango
avsm has joined #ocaml
<hcarty> _andre: Yes, 'uint' would need to be used, as opposed to 'uint.unit64', etc.
ftrvxmtrx has quit [Quit: Leaving]
mcclurmc_ has joined #ocaml
smondet has quit [Ping timeout: 276 seconds]
Xizor has joined #ocaml
adamgolding has joined #ocaml
<adamgolding> i get the following error while trying to builc camlp5 on cygwin:
<adamgolding> user@X220 /camlp5-6.02.0 $ ./configure --strict >> Fatal error: cannot open pervasives.cmi Fatal error: exception Misc.Fatal_error
<_andre> mrvn, hcarty: got it to work moving Str_conv to the parent module, Uint
<_andre> and i can still require just the package i want
asdfhjkl has quit [Quit: Leaving]
_andre has quit [Quit: leaving]
djcoin has joined #ocaml
<thelema> lorill: I may borrow some details of your css for batteries' docs. We're definitely in need of some improvement: http://ocaml-batteries-team.github.com/batteries-included/hdoc2/
<lorill> as you wish, but maybe wait a little, i'm changing the html generator to clean the produced html a little
sander_ has joined #ocaml
cdidd has joined #ocaml
Kakadu has quit [Quit: Konversation terminated!]
twittard has quit [Read error: Connection reset by peer]
twittard has joined #ocaml
djcoin has quit [Quit: WeeChat 0.3.2]
Tobu has quit [Ping timeout: 272 seconds]
Tobu has joined #ocaml
<lorill> new ocamldoc css here : http://vfiack.fr/ocaml/doc/
<lorill> the patch is here : http://vfiack.fr/ocaml/ (made from trunk)
<lorill> i don't know where / how to submit it, so feel free do to it if you want
<lorill> the various "index" pages are still a mess, but that's enough for now
Submarine has quit [Read error: Operation timed out]
twittard_ has joined #ocaml
twittard has quit [Ping timeout: 276 seconds]
twittard_ is now known as twittard
smondet has joined #ocaml
twittard_ has joined #ocaml
stephane__ has joined #ocaml
stephane__ has quit [Remote host closed the connection]
avsm has quit [Quit: Leaving.]
twittard has quit [Ping timeout: 246 seconds]
twittard_ is now known as twittard
albacker has joined #ocaml
albacker has quit [Changing host]
albacker has joined #ocaml
Snark has quit [Quit: Quitte]
adamgolding has quit [Ping timeout: 245 seconds]
twittard_ has joined #ocaml
twittard has quit [Ping timeout: 240 seconds]
twittard_ is now known as twittard
lorill has quit [Quit: Page closed]
ftrvxmtrx has joined #ocaml
Ptival has joined #ocaml
Xizor has quit [Ping timeout: 260 seconds]
metasyntax has joined #ocaml
sander_ has quit [Quit: Leaving]
<Drakken> What does # mean without an object name before it?
<lopex> referes to nested type
<lopex> oh without ?
<lopex> oops wrong channel
albacker has quit [Ping timeout: 260 seconds]