sagotch has quit [Remote host closed the connection]
shinnya has joined #ocaml
jonludla` has joined #ocaml
AlexRussia has quit [Ping timeout: 256 seconds]
jonludlam has quit [Ping timeout: 245 seconds]
<Drup>
you did say "deployment of an ocaml-sourced cloud" :p
nojb has joined #ocaml
<rand000>
yes I did :p just brainstorming
<rand000>
do you think such an inter-pkgmngr api would be complex to do?
psy_ has joined #ocaml
<rand000>
not the api maybe.. I guess I mean the actual implementation of the communication
robink is now known as cm9iaW5r
cm9iaW5r is now known as robink
thomasga has quit [Quit: Leaving.]
jonludlam has joined #ocaml
thomasga has joined #ocaml
jonludla` has quit [Ping timeout: 245 seconds]
psy_ has quit [Ping timeout: 255 seconds]
sheijk has joined #ocaml
rgrinberg has joined #ocaml
madroach has quit [Ping timeout: 250 seconds]
samrat has joined #ocaml
madroach has joined #ocaml
sheijk has quit [Ping timeout: 256 seconds]
AlexRussia has joined #ocaml
NoNNaN has quit [Remote host closed the connection]
samrat has quit [Quit: Computer has gone to sleep.]
AlexRussia has quit [Ping timeout: 244 seconds]
ontologiae has quit [Ping timeout: 272 seconds]
waneck has quit [Read error: No route to host]
avsm has quit [Quit: Leaving.]
AlexRussia has joined #ocaml
bytbox has quit [Remote host closed the connection]
badkins has quit [Remote host closed the connection]
sheijk has joined #ocaml
sheijk has quit [Ping timeout: 260 seconds]
ontologiae has joined #ocaml
rgrinberg has quit [Quit: Leaving.]
nojb has quit [Quit: nojb]
axiles has quit [Ping timeout: 265 seconds]
serge has joined #ocaml
hellome has joined #ocaml
serge has quit [Ping timeout: 272 seconds]
bytbox has joined #ocaml
SomeDamnBody has joined #ocaml
rgrinberg has joined #ocaml
badkins has joined #ocaml
badkins has quit [Client Quit]
jonludla` has joined #ocaml
jonludlam has quit [Ping timeout: 244 seconds]
sheijk has joined #ocaml
sheijk has quit [Ping timeout: 255 seconds]
ontologiae has quit [Ping timeout: 240 seconds]
thmslld has quit [Ping timeout: 245 seconds]
ontologiae has joined #ocaml
cody__ has quit [Quit: Leaving]
psy_ has joined #ocaml
ontologiae has quit [Ping timeout: 265 seconds]
rgrinberg has quit [Quit: Leaving.]
sheijk has joined #ocaml
sheijk has quit [Ping timeout: 264 seconds]
serge has joined #ocaml
serge has quit [Ping timeout: 255 seconds]
taion809 has quit [Remote host closed the connection]
jonludlam has joined #ocaml
q66[lap] has joined #ocaml
q66[lap] has quit [Client Quit]
NoNNaN has joined #ocaml
jonludla` has quit [Ping timeout: 272 seconds]
sheijk has joined #ocaml
sheijk has quit [Ping timeout: 256 seconds]
sheijk has joined #ocaml
mcclurmc has quit [Ping timeout: 245 seconds]
shinnya has quit [Ping timeout: 256 seconds]
\q is now known as \u
serge has joined #ocaml
sheijk has quit [Ping timeout: 264 seconds]
natrium1970 has joined #ocaml
serge has quit [Ping timeout: 256 seconds]
<natrium1970>
I just upgraded the system compiler to 4.02.1, and I’m having problems with opam. For example, “opam install type_conv” gives these errors: http://pastebin.com/wFfTLVPA
cespinoza has quit [Quit: Saliendo]
<whitequark>
try `opam install camlp4`
rand000 has quit [Quit: leaving]
<natrium1970>
“Package camlp4 is already installed (current version is 4.02.1+system).”
<natrium1970>
I also tried removing camlp4 and reinstalling it, and I get the same error again.
<whitequark>
I see
<whitequark>
OS X, right? it seems like a bug
<natrium1970>
Yes.
<natrium1970>
But I might have just messed up opam’s database, too.
<natrium1970>
To be honest, all I really wanted was to be able to generate the documentation for opam packages.
<whitequark>
I don't think opamdoc works right now
<natrium1970>
So the whole mess started when I tried to install opam-doc. That generated complaints about the version number of the system.
<natrium1970>
Oh. Someone should put “Out Of Order” signs on these things.
<natrium1970>
I think I’m going to end up nuking ~/.opam and started over.
<natrium1970>
type_conv seems to be borken.
BitPuffin has quit [Ping timeout: 256 seconds]
<natrium1970>
I deleted .opam and started over, and installing type_conv still fails.
<whitequark>
it's not type_conv, it's the camlp4 opam package
<whitequark>
use ocaml from opam for now. opam switch 4.02.1
<natrium1970>
That’s the same version that is installed as the system compiler, though.
<whitequark>
yes.
sheijk has joined #ocaml
sheijk has quit [Ping timeout: 258 seconds]
slash^ has joined #ocaml
natrium1970 has quit [Quit: natrium1970]
koderok has joined #ocaml
MercurialAlchemi has joined #ocaml
oscar_toro has joined #ocaml
slash^ has quit [Read error: Connection reset by peer]
oscar_toro has quit [Read error: Connection reset by peer]
oscar_toro has joined #ocaml
sheijk has joined #ocaml
sheijk has quit [Ping timeout: 265 seconds]
SomeDamnBody has quit [Ping timeout: 240 seconds]
dav_ has quit [Ping timeout: 244 seconds]
koderok has quit [Quit: koderok]
dav has joined #ocaml
kakadu has joined #ocaml
nojb has joined #ocaml
nojb has quit [Client Quit]
nojb has joined #ocaml
def` has quit [Quit: rosebud]
nojb has quit [Quit: nojb]
sheijk has joined #ocaml
pyon is now known as inf-groupoid
sheijk has quit [Ping timeout: 244 seconds]
Arsenik has joined #ocaml
slash^ has joined #ocaml
jonludla` has joined #ocaml
jonludlam has quit [Ping timeout: 256 seconds]
hausdorff has quit [Remote host closed the connection]
hausdorff has joined #ocaml
hausdorff has quit [Remote host closed the connection]
Simn has joined #ocaml
ggole has joined #ocaml
ggole has quit [Ping timeout: 265 seconds]
martintrojer has joined #ocaml
wwilly has joined #ocaml
jonludla` has quit [Ping timeout: 244 seconds]
ggole has joined #ocaml
sheijk has joined #ocaml
sheijk has quit [Ping timeout: 244 seconds]
psy_ has quit [Ping timeout: 250 seconds]
psy_ has joined #ocaml
nojb has joined #ocaml
nojb has quit [Client Quit]
tane has joined #ocaml
claudiuc_ has quit [Read error: Connection reset by peer]
claudiuc has joined #ocaml
hausdorff has joined #ocaml
serge has joined #ocaml
martintrojer has quit [Ping timeout: 272 seconds]
cdidd_ has joined #ocaml
cdidd has quit [Ping timeout: 244 seconds]
nojb has joined #ocaml
serge has quit [Ping timeout: 255 seconds]
hausdorff has quit [Ping timeout: 255 seconds]
Nahra has joined #ocaml
Nahra` has joined #ocaml
elfring has joined #ocaml
Nahra` has quit [Remote host closed the connection]
Nahra has quit [Remote host closed the connection]
Nahra has joined #ocaml
ysz_ has joined #ocaml
nojb has quit [Quit: nojb]
ysz_ has quit [Remote host closed the connection]
nojb has joined #ocaml
sheijk has joined #ocaml
sheijk has quit [Ping timeout: 264 seconds]
martintrojer has joined #ocaml
nojb has quit [Quit: nojb]
nojb has joined #ocaml
nojb has quit [Client Quit]
darkf_ has joined #ocaml
darkf has quit [Ping timeout: 265 seconds]
steshaw has quit [Quit: Connection closed for inactivity]
sheijk has joined #ocaml
andreih has joined #ocaml
hausdorff has joined #ocaml
elfring has quit [Quit: Konversation terminated!]
hausdorff has quit [Ping timeout: 260 seconds]
sheijk has quit [Ping timeout: 258 seconds]
serge has joined #ocaml
serge has quit [Ping timeout: 240 seconds]
dav has quit [Ping timeout: 255 seconds]
dav has joined #ocaml
avsm has joined #ocaml
darkf_ is now known as darkf
demonimin_ has quit [Ping timeout: 256 seconds]
Hannibal_Smith has joined #ocaml
demonimin has joined #ocaml
jbrown has quit [Quit: Client exiting]
Hannibal_Smith has quit [Ping timeout: 240 seconds]
q66[lap] has joined #ocaml
q66[lap] has quit [Read error: Connection reset by peer]
q66[lap] has joined #ocaml
hausdorff has joined #ocaml
hausdorff has quit [Ping timeout: 258 seconds]
jbrown has joined #ocaml
q66 has joined #ocaml
koderok has joined #ocaml
koderok has quit [Read error: Connection reset by peer]
BitPuffin has joined #ocaml
tnguyen has quit [Read error: Connection reset by peer]
tnguyen has joined #ocaml
thomasga has quit [Quit: Leaving.]
shinnya has joined #ocaml
Thooms has joined #ocaml
hausdorff has joined #ocaml
psy_ has quit [Ping timeout: 264 seconds]
hausdorff has quit [Ping timeout: 255 seconds]
dav has quit [Ping timeout: 245 seconds]
dav has joined #ocaml
lordkryss has joined #ocaml
psy_ has joined #ocaml
elfring has joined #ocaml
psy_ has quit [Ping timeout: 250 seconds]
avsm has quit [Quit: Leaving.]
psy_ has joined #ocaml
mfp has quit [Read error: Connection reset by peer]
hausdorff has joined #ocaml
hausdorff has quit [Ping timeout: 240 seconds]
thomasga has joined #ocaml
dsheets has joined #ocaml
darkf has quit [Quit: Leaving]
Thooms has quit [Quit: WeeChat 1.0.1]
sheijk has joined #ocaml
taion809 has joined #ocaml
serge has joined #ocaml
serge has quit [Ping timeout: 258 seconds]
ysz_ has joined #ocaml
thmslld has joined #ocaml
rgrinberg has joined #ocaml
hausdorff has joined #ocaml
hausdorff has quit [Ping timeout: 245 seconds]
ontologiae has joined #ocaml
ysz_ has quit [Ping timeout: 255 seconds]
tnguyen has quit [Ping timeout: 245 seconds]
q66[lap] has quit [Read error: Connection reset by peer]
<Drup>
AltGr said the wiki is deprecated and will be terminated soon~ish
psy_ has quit [*.net *.split]
cdidd_ has quit [*.net *.split]
araujo has quit [*.net *.split]
evert has quit [*.net *.split]
NoNNaN has quit [*.net *.split]
nicoo has quit [*.net *.split]
psy_ has joined #ocaml
cdidd_ has joined #ocaml
araujo has joined #ocaml
evert has joined #ocaml
nicoo has joined #ocaml
nicoo has quit [Ping timeout: 246 seconds]
<reynir>
OK thanks
<reynir>
I'm not really sure what to put in the META file
<Drup>
which build system are you using ?
<reynir>
ocamlbuild
<Drup>
bare ocamlbuild, right
<Drup>
I don't know if we have nice tutorial for META files
pgomes has joined #ocaml
q66[lap] has quit [Ping timeout: 250 seconds]
q66 has quit [Ping timeout: 250 seconds]
serge has joined #ocaml
q66 has joined #ocaml
q66[lap] has joined #ocaml
bytbox has quit [Remote host closed the connection]
serge has quit [Ping timeout: 264 seconds]
hausdorff has joined #ocaml
ontologiae has quit [Ping timeout: 265 seconds]
hausdorff has quit [Ping timeout: 245 seconds]
andreih has quit []
<ysz_>
can oasis build shared library instead of executable? i.e. run something like ocamlfind opt -o libfoo.so -linkpkg -output-obj -package bar,baz some.cmx some.o ?
<Drup>
Declare a library ?
<ysz_>
will build ocaml library!
<Drup>
it will also build .so & co if some C code is involved (through CSources)
<ysz_>
it will build cclib
<ysz_>
i want to have native object
<ysz_>
as in -output-obj
<Drup>
ah. I don't know, sorry
<ysz_>
no worries. i put command in PostBuildCommand as workaround but thats...
shallow is now known as systemd-shallowd
bytbox has joined #ocaml
hausdorff has joined #ocaml
martintrojer has quit [Ping timeout: 245 seconds]
martintrojer has joined #ocaml
ysz_ has quit [Ping timeout: 265 seconds]
samrat has quit [Quit: Computer has gone to sleep.]
koderok has joined #ocaml
koderok has quit [Client Quit]
thomasga has joined #ocaml
nojb has joined #ocaml
cbryan has quit [Remote host closed the connection]
hausdorff has quit [Remote host closed the connection]
willy_ has quit [Ping timeout: 244 seconds]
<gasche>
reynir: just copy the META file of an existing package that has the same structure as yours
<gasche>
META files are really simple
<gasche>
if you're distributing a library, pick any library
<gasche>
the META file for package $foo can be found at `ocamlfind query $foo`/META
<gasche>
(for installed packages)
mcc has joined #ocaml
axiles has joined #ocaml
ggole has quit []
araujo has quit [Ping timeout: 256 seconds]
wwilly has joined #ocaml
araujo has joined #ocaml
serge has joined #ocaml
dsheets has quit [Ping timeout: 255 seconds]
serge has quit [Ping timeout: 264 seconds]
slash^ has quit [Read error: Connection reset by peer]
wwilly has quit [Ping timeout: 245 seconds]
wwilly has joined #ocaml
ontologiae has joined #ocaml
willy_ has joined #ocaml
wwilly has quit [Ping timeout: 256 seconds]
hausdorff has joined #ocaml
ontologiae has quit [Ping timeout: 250 seconds]
yomimono has joined #ocaml
willy__ has joined #ocaml
willy_ has quit [Ping timeout: 244 seconds]
martintrojer has quit [Ping timeout: 258 seconds]
martintrojer has joined #ocaml
pgomes has quit [Ping timeout: 256 seconds]
willy_ has joined #ocaml
willy__ has quit [Ping timeout: 245 seconds]
thomasga has quit [Quit: Leaving.]
jonludlam has joined #ocaml
relrod_ has joined #ocaml
hausdorff has quit [Remote host closed the connection]
<mcc>
is anyone familiar with this sedlex thing? i'm trying to figure out how to do a "group capture", if it offers that, and if there's a way to use it to kind of "slice off" bits of the front of a string...
<mcc>
that did it! should i try to get a different version of ocamlfind? :O
<Drup>
no
<Drup>
I asked to be sure you had a version that handle ppx, but it's not related, in fact
<mcc>
oh, i see the problem. okay.
<mcc>
um, here is a question. is there a way to invoke ocamlfind so that it invokes things "inline"?
<Drup>
what do you mean ?
<Drup>
but really, don't invoke ocaml by yourself, use a build system. =')
<mcc>
that is, if i say just ocaml test.ml, it executes my ml file. but when i say ocamlfind ocamlc -package sedlex test.ml -linkpkg , it builds an a.out
<mcc>
yes, i'll be doing that soon :O
<mcc>
do you think i am making a tremendous mistake if i go with scons?
<mcc>
anyway, i'm curious if i can get the behavior of the plain "ocaml" executable while getting ocamlfind's nice package finding behavior
<Drup>
never heard of it, so it probably doesn't have ocaml rules built in, so yes
<Drup>
:D
axiles has quit [Quit: Quitte]
<lessless>
what list can match (h::_)::_ pattern?
<mcc>
heh.
<companion_cube>
[[1];[]]
<Drup>
about your question with the interpreter, no way to do that cleanly that will still work with the compiler, no
<mcc>
ok!
<mcc>
(and i did find a third party tool for scons... on launchpad... from three years ago... with exactly one checkin)
<Drup>
mcc: however, if you do "#use "topfind" ;;" in your repl
<Drup>
you will have the command #require to load an ocamlfind package
<mcc>
oh, that's interesting
<mcc>
leaving aside the question of whether this is a *good* idea, could i put that in my code?
<Drup>
(you should in fact use utop, a repl replacement, that has built in ocamlfind support)
<Drup>
you can, but the compile will choke on it :D
<Drup>
+r
<mcc>
that's good to know thanks
<Drup>
(that's why it's a bad idea :p)
willy_ has quit [Remote host closed the connection]
<lessless>
companion_cube, and [| _; (_, x) |]::_ ?
<Drup>
companion_cube: I think should write a program to automate that :D
<companion_cube>
heh
<Drup>
given a pattern, find an inhabitant
<Drup>
if you leave guards out, it's quite trivial :p
<companion_cube>
the compiler can do something close, related to exhaustivity, I guess
<Drup>
hum, it finds a pattern
<mcc>
Oh, one more question. I'm confused by the fact that ocamlc and ocamlopt are both offered. Why would one ever use ocamlc instead of ocamlopt?
<Drup>
does it gives a value too ? I don't remember
<Drup>
yep, only a pattern
<Drup>
mcc: when native compilation is not available, and for speed
<Drup>
(ocamlc compiles much quicker)
<mcc>
ok
mawuli has joined #ocaml
thomasga has joined #ocaml
hausdorff has quit [Remote host closed the connection]
hausdorff has joined #ocaml
hausdorff has quit [Remote host closed the connection]
hausdorff has joined #ocaml
Arsenik has quit [Remote host closed the connection]
tnguyen has joined #ocaml
hausdorff has quit [Remote host closed the connection]
hausdorff has joined #ocaml
hausdorff has quit [Ping timeout: 245 seconds]
<reynir>
I have a ppx_deriving_yojson question. I'm writing a wrapper for this json web api, and they return an object with a "type" field. The value of the type field determines which fields will be null, so you can consider it as a poor man's variants. Is there a nice way to encode this?
struktured has joined #ocaml
<reynir>
Also, anyone know how [%of_yojson:] should work?
MercurialAlchemi has quit [Ping timeout: 244 seconds]
Thooms has quit [Quit: WeeChat 1.0.1]
contempt has quit [Quit: Lost terminal]
struktured has quit [Ping timeout: 264 seconds]
jabesed has quit [Quit: Konversation terminated!]
mcclurmc has quit [Ping timeout: 260 seconds]
kakadu has quit [Quit: Konversation terminated!]
ontologiae has joined #ocaml
lessless has quit [Remote host closed the connection]