watermind has quit [Read error: Connection reset by peer]
watermind has joined #ocaml
watermind has quit [Client Quit]
watermind has joined #ocaml
clan has quit [Ping timeout: 265 seconds]
ontologiae has quit [Read error: Operation timed out]
arjunguha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Qett has quit [Remote host closed the connection]
sillyotter has joined #ocaml
sillyotter has quit [Remote host closed the connection]
nikki93 has quit [Remote host closed the connection]
arjunguha has joined #ocaml
clan has joined #ocaml
ontologiae has joined #ocaml
jwatzman|work has quit [Quit: jwatzman|work]
ontologiae has quit [Ping timeout: 245 seconds]
ygrek has joined #ocaml
S11001001 has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
nikki93 has joined #ocaml
nikki93 has quit [Remote host closed the connection]
kyrylo has quit [Ping timeout: 260 seconds]
mcclurmc has quit [Remote host closed the connection]
mcclurmc has joined #ocaml
lostcuaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lostcuaz has joined #ocaml
yellowfish has quit [Ping timeout: 245 seconds]
arjunguha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ddosia has quit [Ping timeout: 264 seconds]
mrvn has quit [Ping timeout: 265 seconds]
ddosia has joined #ocaml
mcclurmc has quit [Remote host closed the connection]
yacks has joined #ocaml
Yoric has joined #ocaml
mrvn has joined #ocaml
<caseyjames>
This gives me an illegial option --m, any ideas? find -mindepth 2 -maxdepth 2 -type d | while read dir; do mv -T "$dir" "`dirname "$dir"`/`basename "$dir" | sed "s/[rR].*$/MIC_A/i"`"; done
clan has quit [Quit: clan]
mcclurmc has joined #ocaml
ggole has joined #ocaml
lostcuaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lostcuaz has joined #ocaml
watermind has quit [Quit: Konversation terminated!]
dant3 has quit [Remote host closed the connection]
dant3 has joined #ocaml
caseyjames has quit [Quit: Page closed]
mcclurmc has joined #ocaml
rwmjones is now known as rwmjones_devconf
mcclurmc has quit [Ping timeout: 260 seconds]
sagotch has joined #ocaml
yacks has quit [Quit: Leaving]
dant3 has quit [Remote host closed the connection]
adrien_oww has quit [Read error: Operation timed out]
adrien_oww has joined #ocaml
Gue______ has quit [Quit: Computer has gone to sleep.]
Thooms has joined #ocaml
<sagotch>
If I may ask for and advice: I wrote a functor `writer`, asking for antother module (defining simple writing function, the resulting functor is suppose to have only one function combining these functions), and I want to //parametrize// it with a `config` value which is basicaly a hsahtabl (I know this value at the time I use the functor), but I can find how to do it
<sagotch>
Should I go for a object instead of a module ?
<sagotch>
Am I missing something I tried decalring config as a parameter of functor, I tried using `with val config = c` when creating module, but it does not compile at all
FreeArtMan has joined #ocaml
mchqwerty has joined #ocaml
<sagotch>
I other words : how to initialize a value when creating a module (there is a default dummy value to avoid signature mismatch)
<sagotch>
Is it something were are not supposed to do with modules?
<ggole>
You can do that with first class modules
<ggole>
But it may be cleaner to just use a record or object.
<sagotch>
any example I see to parametrize a module is only parametrizing it with type, but never with value
r0bgleeson has quit [Ping timeout: 265 seconds]
<ggole>
Those are probably functors. First-class modules let you construct modules dynamically, which seems like it is what you want.
<sagotch>
Can't find a solution, I'll try to go for an object, thank you anyway
cago has joined #ocaml
dant3 has quit [Remote host closed the connection]
<companion_cube>
o/
fantasticsid has joined #ocaml
fantasticsid has quit [Remote host closed the connection]
FreeArtMan has joined #ocaml
<Kakadu>
\o
fantasticsid has joined #ocaml
Thooms has quit [Read error: Connection reset by peer]
Thooms has joined #ocaml
AltGr has joined #ocaml
yellowfish has quit [Ping timeout: 260 seconds]
<sagotch>
can't you define a method in object ... end using usual let foo = ... ? In order to use it as a private method and without using self#
<sagotch>
a function*
<companion_cube>
if you don't need self, you can probably define the function before the object
<companion_cube>
with a let..in
<sagotch>
the trick is that I am using an attribute of the object, so I can not
<companion_cube>
method foo a b c = let f = .... in f a b c ? :D
<sagotch>
but I will need to write self#foo?
<companion_cube>
hmmm
<companion_cube>
I suppose the function needs be a method in order to use the object's attributes
<sagotch>
there must be a good reason for not allowing let declarations in objects, but I miss it now
<companion_cube>
maybe because if you update the object (via {< foo with ... >}, I think) the methods must refer to the new object's attributes/methods
<companion_cube>
that late binding
<gasche>
can't you just make the function an attribute?
<companion_cube>
o/ gasche
lostcuaz has joined #ocaml
talzeus has joined #ocaml
talzeus_ has joined #ocaml
mchqwerty has quit [Remote host closed the connection]
<sagotch>
I'll make it a private attribute indeed
<sagotch>
but code would be lighter without the self# thing everywhere
talzeus has quit [Ping timeout: 252 seconds]
dant3 has joined #ocaml
mort___ has joined #ocaml
dant3 has quit [Remote host closed the connection]
<gasche>
sagotch: I don't understand, you don't have to use self# to refer to an attribute, it's the method call syntax
dant3 has joined #ocaml
skchrko has joined #ocaml
avsm has joined #ocaml
<sagotch>
oh, I thought "method"
<sagotch>
defining it as val -> Error: The instance variable buffer cannot be accessed from the definition of another instance variable
<sagotch>
I am jsut defining a alias `val add_string = Buffer.add_string buffer`
<sagotch>
I should be able to fix it using an accessor
mort___ has quit [Quit: Leaving.]
<sagotch>
I actually cannot `Error: The instance variable self cannot be accessed from the definition of another instance variable` (btw, sorry if my questions are dummy, I never used object in OCaml before today)
yellowfish has joined #ocaml
FreeArtMan has quit [Read error: Connection reset by peer]
yellowfish has quit [Ping timeout: 246 seconds]
mchqwerty has joined #ocaml
_andre has joined #ocaml
johnelse_away is now known as johnelse
Yoric has joined #ocaml
avsm has quit [Quit: Leaving.]
dant3 has quit [Remote host closed the connection]
dant3 has joined #ocaml
mort___ has joined #ocaml
talzeus_ has quit [Read error: Connection reset by peer]
mort___ has quit [Ping timeout: 245 seconds]
thomasga has quit [Quit: Leaving.]
thomasga has joined #ocaml
fantasticsid has quit [Remote host closed the connection]
dsheets has quit [Ping timeout: 245 seconds]
thomasga has quit [Quit: Leaving.]
avsm has joined #ocaml
dsheets has joined #ocaml
dant3 has quit [Remote host closed the connection]
ygrek has quit [Ping timeout: 245 seconds]
thomasga has joined #ocaml
ollehar has joined #ocaml
dant3 has joined #ocaml
jonludlam has joined #ocaml
FreeArtMan has joined #ocaml
lostcuaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
clan has quit [Quit: clan]
Dongyancai has joined #ocaml
Dongyancai has left #ocaml []
hyperbor1ean is now known as hyperboreean
avsm has quit [Quit: Leaving.]
sagotch has quit [Ping timeout: 245 seconds]
Dongyancai has joined #ocaml
FreeArtMan has quit [Ping timeout: 246 seconds]
kyrylo has joined #ocaml
avsm has joined #ocaml
FreeArtMan has joined #ocaml
kaustuv has joined #ocaml
ggole has quit [Ping timeout: 265 seconds]
dant3 has quit [Remote host closed the connection]
ggole has joined #ocaml
dant3 has joined #ocaml
arjunguha has joined #ocaml
r0bgleeson has joined #ocaml
dant3 has quit [Remote host closed the connection]
dant3 has joined #ocaml
mrvn has quit [Read error: Operation timed out]
mrvn has joined #ocaml
avsm has quit [Quit: Leaving.]
shinnya has joined #ocaml
sagotch has joined #ocaml
thomasga has quit [Quit: Leaving.]
cago has left #ocaml []
lostcuaz has joined #ocaml
arjunguha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
darkf has quit [Quit: Leaving]
oriba has joined #ocaml
AltGr has left #ocaml []
ollehar1 has joined #ocaml
avsm has joined #ocaml
xitology_ has joined #ocaml
yacks has quit [Read error: Operation timed out]
Guest_ has joined #ocaml
rz has quit [Ping timeout: 245 seconds]
mcclurmc has joined #ocaml
mcclurmc has quit [Remote host closed the connection]
Thooms has quit [Ping timeout: 245 seconds]
avsm has quit [Quit: Leaving.]
oriba has quit [Quit: oriba]
avsm has joined #ocaml
Simn is now known as Simn|gone
thomasga has joined #ocaml
Thooms has joined #ocaml
mort___ has joined #ocaml
ontologiae has joined #ocaml
avsm has quit [Quit: Leaving.]
arjunguha has joined #ocaml
Guest_ has quit [Quit: Computer has gone to sleep.]
siddharthv is now known as siddharthv_away
Thooms has quit [Ping timeout: 252 seconds]
ygrek has joined #ocaml
PM` is now known as PM
dsheets has quit [Ping timeout: 272 seconds]
yellowfish has joined #ocaml
ollehar has quit [Ping timeout: 246 seconds]
kyrylo has quit [Quit: Viva la revolucion!]
arjunguha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ontologiae has quit [Ping timeout: 245 seconds]
thomasga has quit [Quit: Leaving.]
thomasga has joined #ocaml
kamatara has joined #ocaml
dsheets has joined #ocaml
arjunguha has joined #ocaml
zpe has joined #ocaml
jao has joined #ocaml
jao has quit [Changing host]
jao has joined #ocaml
dsheets has quit [Ping timeout: 245 seconds]
dant3 has quit [Remote host closed the connection]
yellowfish has quit [Ping timeout: 245 seconds]
dant3 has joined #ocaml
Yoric has quit [Ping timeout: 245 seconds]
zpe has quit [Remote host closed the connection]
zpe has joined #ocaml
dsheets has joined #ocaml
dant3 has quit [Remote host closed the connection]
Simn|gone is now known as Simn
saml has joined #ocaml
zpe has quit [Ping timeout: 245 seconds]
Yoric has joined #ocaml
dsheets_ has joined #ocaml
dsheets has quit [Ping timeout: 245 seconds]
_andre has quit [Quit: leaving]
AltGr has joined #ocaml
_andre has joined #ocaml
AltGr has left #ocaml []
kyrylo has joined #ocaml
shinnya has quit [Ping timeout: 260 seconds]
dant3 has joined #ocaml
kamatara has quit [Quit: Leaving]
dant3_ has joined #ocaml
<kaustuv>
Which is "more" "canonical"? http://opam.ocaml.org or http://opam.ocamlpro.com? (Or are they just mirrors of each other?) The latter URL still has a higher Google PageRank, and http://opam.ocaml.org/about.html still gives the impression that it is an OCamlPro product ("is created and maintained by >..")
dant3 has quit [Ping timeout: 260 seconds]
<kaustuv>
Hmm, the contents of the two URLs do seem to be different.
<kaustuv>
I'm not denying that OCamlPro created and maintain it, but there is a lot of community input in the packages repository at least, so it makes me feel better if it were free of corporate branding
<kaustuv>
But I can live with a tiny ocamlpro logo at the bottom of opam.ocaml.org
<kerneis>
most people feel that way, I guess that's why ocamlpro moved it to ocaml.org
lostcuaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<kerneis>
but they had to wait for wide adoption before making it part of the "official" ocaml.org community
ocp has joined #ocaml
ollehar1 has quit [Read error: No route to host]
arjunguha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
philtor has joined #ocaml
ollehar has joined #ocaml
r0bgleeson has quit [Quit: WeeChat 0.4.2]
siddharthv_away is now known as siddharthv
siddharthv is now known as siddharthv_away
S11001001 has joined #ocaml
S11001001 has quit [Changing host]
S11001001 has joined #ocaml
avsm has joined #ocaml
arjunguha has joined #ocaml
kaustuv has left #ocaml []
dant3 has joined #ocaml
ollehar1 has joined #ocaml
dant3 has quit [Ping timeout: 252 seconds]
cross has quit [Quit: leaving]
r0bgleeson has joined #ocaml
nlucaroni has joined #ocaml
cross has joined #ocaml
Kakadu has quit [Ping timeout: 245 seconds]
ygrek has quit [Ping timeout: 250 seconds]
<seliopou>
just got a 4000 line long ocaml type error
<Drup>
seliopou: polymorphic variant encoding an AST ? :)
<seliopou>
Drup: a big-ass module and at the end "contains type variables that cannot be generalized"
<seliopou>
oy, it's probably something stupid
<seliopou>
but maybe one for the record books
<seliopou>
though i suspect from your reaction, this is peanuts compared to others
<Drup>
ah, the big ass module, yeah, that's the other possibility
gereedy has quit [Ping timeout: 264 seconds]
<Drup>
seliopou: let's say that, if you know how, it's quite easy to have enormous error messages, especially when using polymorphic variants. but 4000 line is indeed impressive :D
<seliopou>
I did this by accident, so just imagine what i'd be capable of if I knew what I was doing
gereedy has joined #ocaml
<seliopou>
ah, monomorphism restriction
ocp has quit [Ping timeout: 245 seconds]
arjunguha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jpdeplaix` has quit [Ping timeout: 250 seconds]
willb is now known as Guest43550
mye has joined #ocaml
jwatzman|work has joined #ocaml
avsm has quit [Quit: Leaving.]
mchqwerty has quit [Quit: Odcházím]
jpdeplaix` has joined #ocaml
avsm has joined #ocaml
lostcuaz has joined #ocaml
skchrko has quit [Quit: Leaving]
ollehar1 has quit [Ping timeout: 246 seconds]
ollehar has quit [Ping timeout: 246 seconds]
Kakadu has joined #ocaml
manizzle has quit [Ping timeout: 260 seconds]
ulfdoz has joined #ocaml
arjunguha has joined #ocaml
jonludlam has quit [Remote host closed the connection]
avsm has quit [Quit: Leaving.]
avsm has joined #ocaml
arjunguha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Yoric has quit [Ping timeout: 245 seconds]
arjunguha has joined #ocaml
arjunguha has quit [Client Quit]
zpe has joined #ocaml
Anarchos has joined #ocaml
arjunguha has joined #ocaml
lostcuaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jwatzman|work has quit [Quit: jwatzman|work]
wolfnn has joined #ocaml
arjunguha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
arjunguha has joined #ocaml
pkrnj has joined #ocaml
arjunguha has quit [Client Quit]
arjunguha has joined #ocaml
arjunguha has quit [Client Quit]
arjunguha has joined #ocaml
mort___ has quit [Quit: Leaving.]
oriba has joined #ocaml
mreca has joined #ocaml
manizzle has joined #ocaml
ggole has quit []
dsheets_ has quit [Ping timeout: 246 seconds]
avsm has quit [Quit: Leaving.]
avsm has joined #ocaml
manizzle has quit [Ping timeout: 245 seconds]
avsm has quit [Ping timeout: 250 seconds]
mreca has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tristan_1 has joined #ocaml
manizzle has joined #ocaml
Arsenik has joined #ocaml
dant3 has joined #ocaml
<flux>
does ocamlbuild support having a subdirectory with its own _tags?
<flux>
I'm trying to make an 'easy to build' package that has its dependency module as a subdirector (actually a git submodule)
<flux>
"OCamlGcode": include seems to work ok, but it doesn't rebuild stuff when I modify something in OCamlGcode
<flux>
actually I was wrong, it seem to work fine :)
<pippijn>
yes
<pippijn>
ocamlbuild is composable
<pippijn>
oasis is not
nlucaroni has left #ocaml []
dsheets_ has joined #ocaml
jwatzman|work has joined #ocaml
jwatzman|work has quit [Changing host]
jwatzman|work has joined #ocaml
dsheets_ has quit [Ping timeout: 245 seconds]
dsheets has joined #ocaml
_andre has quit [Quit: leaving]
comacat has joined #ocaml
clan has joined #ocaml
clan has quit [Quit: clan]
Thooms has joined #ocaml
Yoric has joined #ocaml
oriba has quit [Quit: oriba]
axiles has quit [Remote host closed the connection]
malo has joined #ocaml
ollehar has joined #ocaml
pkrnj has quit [Quit: Computer has gone to sleep.]
mfp_ has joined #ocaml
jpdeplaix` is now known as jpdeplaix
mfp has quit [Read error: Connection reset by peer]
nlucaroni has joined #ocaml
yellowfish has joined #ocaml
lostcuaz has joined #ocaml
Arsenik has quit [Remote host closed the connection]
yellowfish has quit [Ping timeout: 245 seconds]
arjunguha has quit [Ping timeout: 260 seconds]
sheijk has joined #ocaml
<smondet>
Hi does anyone know how portable are the cmxs files? I mean if i compile a cmxs on an Ubuntu and load it with a program compiled on a debian stable, am I going to get libc mismatches or something like that?
<companion_cube>
I don't think so
<companion_cube>
but they don't work from one ocaml version to another
<adrien>
smondet: you can try it
<smondet>
adrien: yes I'm going to, but I don't want to have it working now because of luck, and have it break in 6 months because of some OS update
pkrnj has joined #ocaml
<adrien>
as companion_cube said, you get no compat between ocaml versions
<adrien>
basically, you are still bound to checksums on interfaces (iirc)
Yoric has quit [Ping timeout: 250 seconds]
<smondet>
yes indeed
<companion_cube>
also it will require the same architecture
<smondet>
yes
<smondet>
(cmxs works on ADM64 anyway, right? )
<adrien>
yes!
<companion_cube>
if you compiled on it, yes
<smondet>
sorrr, i meant "only on AMD64"
<adrien>
it's not so much "x86_64" as "does the OS support it"?
<adrien>
no
<adrien>
x86 and probably ARM, at least
<smondet>
ah yes
<smondet>
I misread
<smondet>
but yes it's native code, the Dynlink module is not going to cross-compile
<smondet>
but I'm a bit scared of things external to ocaml
<smondet>
C libraries
<smondet>
but I will try anyway :)
<smondet>
thanks
thomasga has quit [Ping timeout: 245 seconds]
ulfdoz has quit [Ping timeout: 260 seconds]
ollehar has quit [Ping timeout: 272 seconds]
ollehar has joined #ocaml
<sheijk>
smondet: afaik the actual code is stored in the .o file. you can use nm etc. to check what it contains and which symbols it depends on
<adrien>
for a .cmxa it will be in the .a file
<adrien>
(which is merely a collection of the .o files :) )
ocp has joined #ocaml
Kakadu has quit [Quit: Konversation terminated!]
Yoric has joined #ocaml
ollehar has quit [Ping timeout: 272 seconds]
mcclurmc has joined #ocaml
FreeArtMan has quit [Read error: Operation timed out]
dant3 has quit [Remote host closed the connection]
mye has quit [Quit: mye]
ontologiae has joined #ocaml
mcclurmc has quit [Remote host closed the connection]
Yoric has quit [Ping timeout: 248 seconds]
yellowfish has joined #ocaml
clan has joined #ocaml
brendan has quit [Quit: Reconnecting]
brendan has joined #ocaml
arjunguha has joined #ocaml
arjunguha has quit [Client Quit]
jonludlam has joined #ocaml
ollehar has joined #ocaml
WraithM has joined #ocaml
jonludlam has quit [Ping timeout: 252 seconds]
jonludlam has joined #ocaml
saml has quit [Quit: Leaving]
clan has quit [Quit: clan]
clan has joined #ocaml
jzelinskie has quit [Quit: Updating details, brb]
jzelinskie has joined #ocaml
clan has quit [Quit: clan]
clan has joined #ocaml
oriba has joined #ocaml
pkrnj has quit [Quit: Computer has gone to sleep.]
yellowfish has quit [Ping timeout: 245 seconds]
Thooms has quit [Quit: WeeChat 0.3.8]
mocrunsthecity has joined #ocaml
ocp has quit [Ping timeout: 246 seconds]
oriba has quit [Quit: Verlassend]
mocrunsthecity has quit [Remote host closed the connection]
clan has quit [Quit: clan]
ollehar has quit [Ping timeout: 246 seconds]
thomasga has joined #ocaml
S11001001 has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
yellowfish has joined #ocaml
mocrunsthecity has joined #ocaml
darkf has joined #ocaml
Simn has quit [Quit: Leaving]
yellowfish has quit [Ping timeout: 260 seconds]
mocrunsthecity has quit [Remote host closed the connection]
jonludlam has quit [Remote host closed the connection]
ollehar has joined #ocaml
Anarchos has quit [Quit: Vision[0.9.7-H-20131020]: i've been blurred!]