<Drup>
It's not actually using make, make is just a proxy, look at tyxml's makefile, it will be pretty obvious.
<Drup>
it will not solve the problem for all packages, just for tyxml. I didn't it may cause issues, so I didn't really cared, but I can fix it locally, so I should as well do :p
<Drup>
didn't know*
<madroach>
yep, I see.
hhugo has joined #ocaml
ygrek has quit [Ping timeout: 258 seconds]
leifw has joined #ocaml
bcg has joined #ocaml
mcclurmc has joined #ocaml
oscar_toro has joined #ocaml
mcclurmc has quit [Remote host closed the connection]
NoNNaN has joined #ocaml
ygrek has joined #ocaml
hhugo has quit [Quit: Leaving.]
hhugo has joined #ocaml
thomasga has quit [Quit: Leaving.]
mcclurmc has joined #ocaml
thomasga has joined #ocaml
martintrojer has quit [Ping timeout: 260 seconds]
martintrojer has joined #ocaml
sagittarian|2 has joined #ocaml
sagittarian|2 has left #ocaml ["Once you know what it is you want to be true, instinct is a very useful device for enabling you to know that it is"]
<Drup>
hum, I have a fishy behavior
<Drup>
some stuff using metaquot that triggers "File "_none_", line 1: Warning 11: this match case is unused.", but if I remove it, it doesn't work anymore.
<Drup>
ah, nevermind, found it
<Drup>
whitequark: there is still an issue with location reporting for metaquot
<whitequark>
yes
<whitequark>
I haven't fixed it
jabesed has joined #ocaml
hhugo has quit [Quit: Leaving.]
hhugo has joined #ocaml
troydm has quit [Ping timeout: 250 seconds]
patronus_ has joined #ocaml
nickmeha1ry has joined #ocaml
rs0_ has joined #ocaml
rwmjones has quit [*.net *.split]
axiles has quit [*.net *.split]
cespinoza has quit [*.net *.split]
Valdo has quit [*.net *.split]
ski has quit [*.net *.split]
nickmeharry has quit [*.net *.split]
deavid has quit [*.net *.split]
WanderingGlitch has quit [*.net *.split]
rs0 has quit [*.net *.split]
Khady has quit [*.net *.split]
cdidd has quit [*.net *.split]
hcarty has quit [*.net *.split]
johnelse has quit [*.net *.split]
mk270 has quit [*.net *.split]
relrod has quit [*.net *.split]
npouillard has quit [*.net *.split]
pippijn has quit [*.net *.split]
patronus has quit [*.net *.split]
troutwine_away has quit [*.net *.split]
hhugo has quit [Quit: Leaving.]
cespinoza has joined #ocaml
axiles has joined #ocaml
rwmjones has joined #ocaml
johnelse has joined #ocaml
cdidd has joined #ocaml
mk270 has joined #ocaml
ski has joined #ocaml
WanderingGlitch has joined #ocaml
deavid has joined #ocaml
troutwine_away has joined #ocaml
relrod has joined #ocaml
pippijn has joined #ocaml
npouillard has joined #ocaml
Khady has joined #ocaml
Valdo has joined #ocaml
hcarty has joined #ocaml
srcerer has quit [Ping timeout: 244 seconds]
morphles has joined #ocaml
travisbrady has quit [Quit: travisbrady]
koderok has joined #ocaml
koderok has quit [Remote host closed the connection]
thomasga has quit [Quit: Leaving.]
hhugo has joined #ocaml
shinnya has quit [Ping timeout: 245 seconds]
ontologiae_ has quit [Ping timeout: 244 seconds]
hhugo has quit [Client Quit]
bytbox has joined #ocaml
ontologiae_ has joined #ocaml
troydm has joined #ocaml
ontologiae_ has quit [Ping timeout: 246 seconds]
seangrove has joined #ocaml
mcclurmc has quit [Remote host closed the connection]
mcclurmc has joined #ocaml
hhugo has joined #ocaml
tac_ has joined #ocaml
travisbrady has joined #ocaml
Anarchos has joined #ocaml
mcclurmc has quit [Remote host closed the connection]
hhugo has quit [Quit: Leaving.]
hugomg has joined #ocaml
<hugomg>
hello, does anyone know if its possible to get a more descriptive error message from opam when it fails to install something? When I try to "opam install ctypes" it just says that "The dependency base-bytes of package ctypes.0.3.3 is not available for your compiler or your OS.". I have no idea if the problem is my OS or my compiler version or something else :/
<adrien>
and what are they?
<hugomg>
I'm using the system compiler version (4.01.0) and my OS is debian linux 64 bits
waneck has joined #ocaml
_0xAX has joined #ocaml
sheijk has joined #ocaml
travisbrady has quit [Quit: travisbrady]
thomasga has joined #ocaml
ygrek has quit [Ping timeout: 246 seconds]
pyon has joined #ocaml
<def`>
hugomg: hmm can you try with an opam managed compiler?
<hugomg>
I think I could but then I would have to wait an hour for everything to compile
<hugomg>
well, lets tell it to start then...
<adrien>
nah, the ocaml compiler is a quick build
<Drup>
hugomg: one hour ? on what machin are you doing that ? :D
<adrien>
one hour would be a P3 500MHz probably ;-)
<hugomg>
you are right, I was thinking that last time it took 30min - 1hour to install everything but thats because I installed a bunch of libs in addition to the compiler
<adrien>
on that topic, I hate Qt (even more)
<def`>
hugomg: remember to change .opam/config if you want multicore builds
<hugomg>
good idea. Ill check that out
travisbrady has joined #ocaml
_0xAX has quit [Remote host closed the connection]
<Drup>
(or pass -j)
mcclurmc has joined #ocaml
<hugomg>
stupid question: will the -j option work inside a VM as well?
shinnya has joined #ocaml
<adrien>
worst case, it doesn't get faster because each of the n processes get 1/n of a cpu
mcclurmc has quit [Remote host closed the connection]
ollehar has quit [Ping timeout: 250 seconds]
<hugomg>
now its saying that ctypes is compatible, woot! Is it the different compiler version or could it have been some library conflict (I had previously installed core and a bunch of other stuff)
<hugomg>
?
philtom has quit [Ping timeout: 260 seconds]
<dmbaturin>
Drup: Back to the yesterday review, do you think the records should have a constructor or it's not a good practice? I.e. MyRecord {...} vs {...}
<def`>
hugomg: problem importing constraints from the outside world (system managed compiler) I think
<dmbaturin>
Also, I eliminated the external tokens, and the whole library dependencies thing in oasis became unnecessary, along with custom flags; and DevFiles stuff started to work as expected.
tane has quit [Quit: Verlassend]
tane has joined #ocaml
jcloud has joined #ocaml
sheijk has quit [Ping timeout: 250 seconds]
sheijk has joined #ocaml
pii4 has quit [Quit: [-.-]...]
<hugomg>
thanks a lot def`, now I just need to wait 30 minutes (hopefully 15) to reinstall all my stuff :)
<def`>
good luck :]
alexmlw has joined #ocaml
alexmlw has left #ocaml [#ocaml]
<Pepe_>
!
<Pepe_>
I'm having some difficulties with opam. core doesn't compile so I reported the bug, there's a patch on the issue so I want to use it.
MercurialAlchemi has quit [Remote host closed the connection]
<Pepe_>
For that I created a local repo, with core.111.28.00, and added 'patches: [ "111.28.arch.patch" ]', plus added the file in the 'files' dir
MercurialAlchemi has joined #ocaml
<Pepe_>
after $ opam-admin check && opam-admin build -g core , I can see my patch in the generated archive (tar tvf archives/core.111.28.00+opam.tar.gz | grep patch), but it says "patch not found" when I try to install the package
sheijk has quit [Quit: .]
<Pepe_>
(and in fact it is not is the build dir, ~/.opam/system/build/...)
<dmbaturin>
Also, in List.fold_left (fun x y -> ...) x is the accumulator and y is the list item, right?
macdice has joined #ocaml
travisbrady has joined #ocaml
morphles has quit [Ping timeout: 260 seconds]
<Drup>
look at the signature, I never remember
jao has joined #ocaml
jao has quit [Changing host]
jao has joined #ocaml
<dmbaturin>
('a -> 'b -> 'a) -> 'a -> 'b list -> 'a
<dmbaturin>
Looks like that. I think I can use just fold now and get rid of the map that extracts rule weights.
thomasga has quit [Quit: Leaving.]
<def`>
fold_left, accumulator on the left, fold_right accumulator on the right
<def`>
though I would prefer if accumulator always was on the right :)
<dmbaturin>
Sometimes I still forget that I can lookup the type signature by just typing the function name in top level. :)
flx has joined #ocaml
Anarchos has quit [Quit: Vision[0.9.7-H-20140108]: i've been blurred!]
winterfury has joined #ocaml
axiles has quit [Remote host closed the connection]
flux has quit [Write error: Broken pipe]
flx is now known as flux
<Pepe_>
Drup: any idea by chance?
<Drup>
I don't know about the issue
<Drup>
but you can do simpler
<Pepe_>
Yeah it's not about the issue, just that I didn't manage to patch the package
<Drup>
fetch core in some directory, apply the patch and use opam pin on the directory
patronus has joined #ocaml
travisbrady_ has joined #ocaml
<Drup>
no need to bother with a custop repository and all that
lumikuuro has quit [Ping timeout: 272 seconds]
<Pepe_>
well, I thought it could be useful if it were to happen again
Kakadu_ has joined #ocaml
girrig_ has joined #ocaml
PM` has joined #ocaml
srax1 has joined #ocaml
arboris_ has joined #ocaml
travisbrady has quit [Ping timeout: 260 seconds]
girrig has quit [Ping timeout: 260 seconds]
Kakadu has quit [Ping timeout: 260 seconds]
patronus_ has quit [Ping timeout: 260 seconds]
PM has quit [Ping timeout: 260 seconds]
srax has quit [Ping timeout: 260 seconds]
ohama has quit [Ping timeout: 260 seconds]
arboris has quit [Ping timeout: 260 seconds]
orbitz has quit [Ping timeout: 260 seconds]
travisbrady_ is now known as travisbrady
ohama has joined #ocaml
orbitz has joined #ocaml
<Pepe_>
Drup: thanks, it seems to work :)
<Drup>
opam pin is love, spread it x)
<Pepe_>
What would you use a local repo for then?
<Drup>
nothing
<Pepe_>
heh
<Drup>
oh, compiler s!
<Drup>
you can't pin compilers.
<Drup>
(very annoying)
<Pepe_>
Ok
<dmbaturin>
Compilers are exempt from love? ;)
<Drup>
considering the license of OCaml that prevents major open source fork of the compiler to be distributed by people not in the ocaml consortium, pretty much, yes.
andreypopp__ has joined #ocaml
<Pepe_>
They don't want competition? :o
<Drup>
(yes, this license is insane)
<Pepe_>
Didn't know there were such a thing
chris2_ has joined #ocaml
sirssi_ has joined #ocaml
<dmbaturin>
I wonder what influenced that choice.
adrien_ has joined #ocaml
jerith_ has joined #ocaml
teiresia1 has joined #ocaml
warrick_ has joined #ocaml
cthuluh_ has joined #ocaml
sirssi has quit [Write error: Connection reset by peer]
warrick has quit [Write error: Connection reset by peer]
igitoor has quit [Write error: Connection reset by peer]
chris2 has quit [Write error: Broken pipe]
cthuluh has quit [Read error: Connection reset by peer]
teiresias has quit [Read error: Connection reset by peer]
whitequark has quit [Read error: Connection reset by peer]
jerith has quit [Read error: Connection reset by peer]
adrien has quit [Read error: Connection reset by peer]
whitequark has joined #ocaml
<Drup>
I think it goes back to MoscowML, which was a fork of CamlLight and they clame a bunch of stuff, so the core team decided to use this weird license to prevent that
igitoor has joined #ocaml
igitoor has quit [Changing host]
igitoor has joined #ocaml
<dmbaturin>
What's wrong with forlking CamlLight?
arboris_ has quit [Quit: Lost terminal]
<dmbaturin>
* forking
<Drup>
you might want to ask people who were not in diapers at the time, so not me x)
<dmbaturin>
Also, I thought MoscowML was an SML compiler.
andreypopp_ has quit [Ping timeout: 268 seconds]
<Drup>
Caml Light is not much more than SML
andreypopp__ is now known as andreypopp_
<dmbaturin>
Hhm, the CamlLight book from INRIA website made me think it's essentially a subset of ocaml.
<Drup>
well, SML is also a subset of OCaml, the syntax differences are minimal
<dmbaturin>
Those differences are pretty superficial, but my attemtps to write SML never work from the first try. :)
<Drup>
actually, if you replace by a buffer, you can probably just do an iter
<dmbaturin>
I was thinking of making it multipass, but that requires keeping state between calls and an exception to break out of a loop (or checking if all nonterminals are gone for exit condition, which is hardly better).
<dmbaturin>
Replace by a Buffer?
<Drup>
instead of concatening strings
<Leonidas>
is there a way to pass an option type as value to a function that takes an optional value?
waneck has joined #ocaml
<Drup>
Leonidas: ?foo:(my_option)
<Drup>
(instead of ~foo)
teiresia1 has quit [Changing host]
teiresia1 has joined #ocaml
<Leonidas>
Drup: looks exactly like what I was looking for, thanks!
<dmbaturin>
Drup: I don't understand how it helps with mutual recursion.
<dmbaturin>
Drup: Also, do you think the Rule (lhs, rhs) should be a record too, or better leave it as a tuple?
<Drup>
depends on your taste and how much you access the field
<Drup>
I would remove most of the alias though, except the one that are used in signatures directly, but you'll see those when you write the mli