<beginner42>
orbitz: do you use the Core from jane street?
chambart has quit [Ping timeout: 246 seconds]
<orbitz>
yes
<companion_cube>
oh, it depends on core :/
<orbitz>
yes
<orbitz>
Once uCore is working it will depend on that instead
<companion_cube>
uCore ? a smaller Core ?
beckerb has joined #ocaml
<orbitz>
companion_cube: I believe he idea is sto provide core in a way that doesn't make your minimum exe size 8 megs:)
<orbitz>
i'm trying to create uCore programatically but it's some ugly sed's
<companion_cube>
orbitz: ah, interesting
<companion_cube>
is ocaml-platform going to ship a 'standard library'?
<orbitz>
basicaly it means (assuming namespaces don't exist) you have to kill the Core pack, and provide naems like Core_string
<orbitz>
so you can link to the cmx directly
<companion_cube>
like what batteries does?
<orbitz>
(from what i'm told, I don't really know ocaml details at htis level)
<orbitz>
Yes
<orbitz>
But to get really micro, at least for me, you have to rip out a lot of things too, like Core.Std.String.Map needs to go since Core.Std.String alone is 400kb compiled
<orbitz>
but i odn't know ifthat is what janest wants
<orbitz>
I'd like a subset of core that lives in around 100kb .cmxa
<companion_cube>
did you consider using batteries instead? 0:-)
<orbitz>
For what? I don't actually have a problem with protobuf depending on Core
dsheets has joined #ocaml
dsheets has quit [Client Quit]
dsheets has joined #ocaml
<dsheets>
How are local module opens resolved?
<dsheets>
Specifically, Library.(Module.f ()) seems to always call Library.Module.f but ocamldep thinks Library.(Module.f ()) might require module.ml
<orbitz>
dsheets: I susepct that is ocamldep being dumb
<dsheets>
well, its dumbness is biting me :-(
<orbitz>
dsheets: soudns like a good question for caml-list!
<dsheets>
i mean, i understand that ocamldep only looks at the unit it is pointed to, yes?
<companion_cube>
I don't understand, is this different from Library.Module.f () ?
<orbitz>
I believe so, i pass all of my source names to it
<orbitz>
dsheets: are you passing library.ml to it as well?
<orbitz>
companion_cube: yes, I belive he issaying ocamldep things his library dpeends on Module not Libary.Module
<dsheets>
I say $ ocamldep module.ml library.ml user.ml
<dsheets>
module and library have no deps
<dsheets>
and user has deps to both
<dsheets>
Library.Module causes only library dep
<dsheets>
Library.(Module. causes both
<orbitz>
that is correct then, isn't it?
<orbitz>
Oh wait it's not quite
<orbitz>
I don't know dsheets
<dsheets>
in the case where module loading is pure, yes, it's fine
<dsheets>
if, say, you have a library with a submodule named "Issues" and then you have a test for something that uses "Issues" but you also have a test for "Issues" called "Issues" then things get very confused
<orbitz>
caml-list can probably help you, that would be my place to go
<dsheets>
hmm... this is the case for all opens
<dsheets>
i guess it's an ambiguity to avoid recursive signature traversals
wwilly has joined #ocaml
dsheets has quit [Quit: Leaving]
dsheets has joined #ocaml
<wwilly>
o/
<companion_cube>
\o
ollehar1 has joined #ocaml
mcclurmc has joined #ocaml
Neros has quit [Ping timeout: 252 seconds]
Neros has joined #ocaml
tane has quit [Quit: Verlassend]
ttamttam has quit [Quit: ttamttam]
ollehar has quit [Ping timeout: 252 seconds]
<Leonidas>
\o/
chambart has joined #ocaml
frogfoodeater has quit [Ping timeout: 252 seconds]
troydm has quit [Quit: What is hope? That all of your wishes and all of your dreams come true? (C) Rau Le Creuset]
_andre has joined #ocaml
q66 has joined #ocaml
<beginner42>
i need to add a maintainer field to a opam file. can i just add a line like Maintainer: name, email, homepage or is there more to it?
tootooroo has quit [Quit: Brain.sys has encountered a problem and needs to close. We are sorry for the inconvenience.]
dsheets has quit [Ping timeout: 245 seconds]
jbrown has quit [Ping timeout: 245 seconds]
<orbitz>
beginner42: There are examples of maintiners in other packages
<beginner42>
orbitz: i looked at some packages with an _oasis file, but i couldnt find a maintainer: field
<orbitz>
be_oasis is not opam
<orbitz>
beginner42: _oasis is not opam
<beginner42>
orbitz: sorry my mistake, i want to add a maintainer field to the _oasis file in my opam package for oasis2opam
<orbitz>
beginner42: Maintainers
<orbitz>
is the name of the field
mattrepl has joined #ocaml
<beginner42>
orbitz: thanks
jbrown has joined #ocaml
groovy2shoes has joined #ocaml
leoncamel has quit [Quit: WeeChat 0.3.9.2]
groovy2shoes has quit [Quit: Computer has gone to sleep]
leoncamel has joined #ocaml
ollehar has joined #ocaml
yacks has quit [Ping timeout: 252 seconds]
yacks has joined #ocaml
Fnar has joined #ocaml
ollehar has quit [Ping timeout: 276 seconds]
ollehar has joined #ocaml
ollehar1 has quit [Read error: Operation timed out]
ollehar1 has joined #ocaml
dsheets has joined #ocaml
ollehar1 has quit [Ping timeout: 256 seconds]
troydm has joined #ocaml
rixed has quit [Quit: fsck]
ttamttam has joined #ocaml
ttamttam has quit [Client Quit]
ollehar1 has joined #ocaml
ollehar has quit [Ping timeout: 276 seconds]
chambart has quit [Ping timeout: 246 seconds]
ontologiae has quit [Quit: leaving]
ontologiae has joined #ocaml
awm22 has quit [Quit: Leaving.]
<Kakadu>
hey
<Kakadu>
does anybody has Qt5 installed?
* Kakadu
needs a guinea pig for testing my scripts :)
<Leonidas>
I could install it later, since Arch has Qt 5.0.1-10
Neros has quit [Ping timeout: 264 seconds]
dwmw2_gone is now known as dwmw2
emj has joined #ocaml
emj is now known as ernm
ernm has left #ocaml []
middayc has joined #ocaml
ollehar1 has quit [Ping timeout: 252 seconds]
ollehar has joined #ocaml
breakds has joined #ocaml
chambart has joined #ocaml
middayc has quit [Ping timeout: 264 seconds]
middayc has joined #ocaml
adahlberg has joined #ocaml
UncleVasya has joined #ocaml
mika1 has quit [Quit: Leaving.]
<adahlberg>
https://gist.github.com/addahlbe/fe30ff1bd5360de25d3c I need to match the first a in SeqNext with the same thing I in SeqStart, anyone know how to structure that match to make it work? I am new to ocaml.
darkf has quit [Quit: Leaving]
Kakadu has quit []
<adahlberg>
Nevermind, was missing a ; after my ). :p
breakds has quit [Quit: Konversation terminated!]
middayc has quit [Ping timeout: 246 seconds]
milosn has joined #ocaml
middayc has joined #ocaml
milosn_ has quit [Ping timeout: 240 seconds]
<SuperNoeMan>
so I ran opam switch 4.01.0dev+trunk
<SuperNoeMan>
and it completed, but I find that ocamlc -v still returns my current version...
q66 has quit [Remote host closed the connection]
q66 has joined #ocaml
<dsheets>
SuperNoeMan, eval `opam config env`?
<SuperNoeMan>
dsheets: spits a shit ton of "are invalid field names in"
olaf_ has joined #ocaml
<dsheets>
SuperNoeMan, paste?
<dsheets>
in a bin
<SuperNoeMan>
I accidentally ran opam update before doing the opam config env
<SuperNoeMan>
I thought I had installed it with brew
<SuperNoeMan>
yeah, apparently I didn't
<SuperNoeMan>
oh wait...
<SuperNoeMan>
I think I know
<SuperNoeMan>
I installed ocaml using the dmg found on the website.
<SuperNoeMan>
I'm sure that included opam
middayc has quit [Ping timeout: 276 seconds]
<dsheets>
i dunno what the current status is but 1.0.0 works great for me
<dsheets>
you might have to blow away your switches and associated libs but things can be built back pretty fast
<SuperNoeMan>
ok lets do that
<SuperNoeMan>
if its really easy
<dsheets>
it's pretty straightforward
<dsheets>
just do it all again :-)
<SuperNoeMan>
opam switch doesn't work
<SuperNoeMan>
I was trying to move to the dev trunk
<SuperNoeMan>
opam switch 4.01.0dev+trunk
middayc has joined #ocaml
Kakadu has joined #ocaml
<SuperNoeMan>
how do you uninstall ocaml if you installed it using hte dmg downloaded offered at the inria download site
<SuperNoeMan>
?
dsheets has quit [Ping timeout: 256 seconds]
dsheets has joined #ocaml
middayc has quit [Read error: Operation timed out]
beckerb has quit [Ping timeout: 245 seconds]
middayc has joined #ocaml
zpe has quit [Remote host closed the connection]
Neros has joined #ocaml
mort___ has quit [Quit: Leaving.]
<adahlberg>
what OS super?
<thelema_>
adahlberg: macos uses dmg
<SuperNoeMan>
I removed all the files in the three directories it mentioned in the readme of the dmg
<SuperNoeMan>
... I'm not sure that I got it all though
<SuperNoeMan>
because I don't have a list that mentions them all
<adahlberg>
sorry what version OS are you on
<SuperNoeMan>
Mt Lion
<adahlberg>
If you uninstalled properly... http://caml.inria.fr/download.en.html. Just download the dmg. Go to downloads, click it, open the package and install just like any other app. Then to verify its installed just go to your terminal and type in Ocaml
<SuperNoeMan>
adahlberg: no, I want keep from installing it using the dmg
<SuperNoeMan>
and install everything with brew, which will update things later for me.
<SuperNoeMan>
and manage things with opam. the dmg is bad
tane has joined #ocaml
<adahlberg>
ohhh
<SuperNoeMan>
that's why i want the dmg's remnants completely obliterated, because I'm using a second install
<thelema_>
SuperNoeMan: it should suffice to remove the binaries from your path (ocamlc, ocamlfind, etc)
<SuperNoeMan>
ok. and the man files and the lib
<SuperNoeMan>
and thanks for confirming
<thelema_>
It wouldn't hurt to remove any libraries, but they'll just take up disk space, and unless your other installs happen to use the same path, no problem
<thelema_>
man files same as binaries.
<SuperNoeMan>
true dat
<SuperNoeMan>
:)
ontologiae has quit [Read error: Operation timed out]
beginner42 has quit [Quit: irc2go]
oriba has joined #ocaml
zpe has joined #ocaml
zerbob has joined #ocaml
<zerbob>
hello
<zerbob>
anyone knows where sys_error is documented ?
ttamttam has joined #ocaml
mcclurmc has quit [Ping timeout: 252 seconds]
smerz has joined #ocaml
zpe has quit [Ping timeout: 245 seconds]
middayc has quit [Read error: Operation timed out]
anderse has joined #ocaml
UncleVasya has quit [Quit: UncleVasya]
<ben_zen>
zerbob: tried a google search? It'll be in the INRIA documentation, in one of the modules.
<zerbob>
no result
<ben_zen>
nothing?
<zerbob>
and it's not in the index of exceptions
middayc has joined #ocaml
<zerbob>
well no definition, only mentions of functions that raise it in sys, pervasives and filename
<zerbob>
experience seems to indicate it takes a string parameter
<ben_zen>
zerbob: look at the bit about filename, where you can extract a string from it.
<ben_zen>
`with Sys_error e -> (prerr_endline e; exit 255)`
<ben_zen>
prerr_endline, meanwhile, is in Pervasives
adahlberg has quit [Remote host closed the connection]
_andre has quit [Quit: leaving]
mort___ has quit [Quit: Leaving.]
pkrnj has joined #ocaml
ulfdoz has joined #ocaml
answer_42 has quit [Ping timeout: 276 seconds]
mrm has joined #ocaml
<mrm>
Good day! Can anyone give me a hint on how to debug a camlp4 extension which is packaged in ocamlfind and depends on several other packages? I need to see the generated code.
<mrm>
Calling "camlp4o blablabla" manually is too tiresome and error-prone because of all the dependencies :-(
ollehar1 has quit [Ping timeout: 252 seconds]
<mrm>
Damn, I miss so much the Lisp's macroexpand facility...
ontologiae has joined #ocaml
rgrisha has quit [Ping timeout: 245 seconds]
<mrm>
Ok. Figured it out myself... (added a rule to myocamlbuild.ml so that camlp4 is invoked with "-printer o" and I get the preprocessed source in /tmp in case of errors).
ddrone has joined #ocaml
pkrnj has quit [Quit: Computer has gone to sleep.]
osa1 has quit [Ping timeout: 256 seconds]
alxbl has quit [Remote host closed the connection]
pkrnj has joined #ocaml
Kakadu has quit []
cdidd has quit [Ping timeout: 248 seconds]
Nahra has quit [Remote host closed the connection]
ddrone has quit [Remote host closed the connection]
flx_ has joined #ocaml
Nahra has joined #ocaml
deavidsedice has joined #ocaml
ontologiae has quit [Ping timeout: 240 seconds]
noj_ has joined #ocaml
avsm_ has joined #ocaml
flux has quit [*.net *.split]
deavid has quit [*.net *.split]
PM has quit [*.net *.split]
avsm has quit [*.net *.split]
noj has quit [*.net *.split]
avsm_ is now known as avsm
flx_ is now known as flux
anderse has quit [Quit: anderse]
srcerer_ has joined #ocaml
PM has joined #ocaml
wormphle1m has joined #ocaml
wormphlegm has quit [Ping timeout: 240 seconds]
srcerer has quit [Ping timeout: 240 seconds]
srcerer_ is now known as srcerer
troydm has quit [Quit: What is hope? That all of your wishes and all of your dreams come true? (C) Rau Le Creuset]
troydm has joined #ocaml
alxbl has joined #ocaml
ollehar has joined #ocaml
ontologiae has joined #ocaml
anderse has joined #ocaml
anderse has quit [Client Quit]
ontologiae has quit [Ping timeout: 245 seconds]
olaf_ has quit [Disconnected by services]
olaf_ has joined #ocaml
q66 has quit [Remote host closed the connection]
eikke has joined #ocaml
ollehar has quit [Ping timeout: 240 seconds]
ulfdoz has quit [Read error: Operation timed out]
tane has quit [Quit: Verlassend]
fraggle_ has quit [Ping timeout: 245 seconds]
avsm has left #ocaml []
fraggle_ has joined #ocaml
ontologiae has joined #ocaml
frogfoodeater has joined #ocaml
thomasga has quit [Quit: Leaving.]
ontologiae has quit [Ping timeout: 276 seconds]
iZsh has quit [Ping timeout: 245 seconds]
iZsh has joined #ocaml
smerz has quit [Ping timeout: 246 seconds]
avsm has joined #ocaml
frogfoodeater has quit [Ping timeout: 245 seconds]