flux changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | OCaml 4.01.0 http://bit.ly/1851A3R | http://www.ocaml.org | Public logs at http://tunes.org/~nef/logs/ocaml/
Sim_n has quit [Ping timeout: 252 seconds]
csakatoku has joined #ocaml
ahill-89 has quit [Quit: leaving]
csakatoku has quit [Remote host closed the connection]
nikki93 has joined #ocaml
simn__ has quit [Quit: Leaving]
ontologiae_ has quit [Ping timeout: 264 seconds]
csakatoku has joined #ocaml
manud_ has joined #ocaml
michael_lee has joined #ocaml
csakatoku has quit [Remote host closed the connection]
csakatoku has joined #ocaml
mcclurmc has joined #ocaml
manud_ has quit [Ping timeout: 260 seconds]
csakatok_ has joined #ocaml
csakatoku has quit [Ping timeout: 246 seconds]
michael_lee has quit [Remote host closed the connection]
strobegen has joined #ocaml
shinnya has quit [Ping timeout: 264 seconds]
michael_lee has joined #ocaml
ygrek has joined #ocaml
michael_lee has quit [Quit: Ex-Chat]
michael_lee has joined #ocaml
mcclurmc has quit [Remote host closed the connection]
mcclurmc has joined #ocaml
mcclurmc has quit [Ping timeout: 240 seconds]
mcclurmc has joined #ocaml
pango has quit [Ping timeout: 246 seconds]
thelema has joined #ocaml
pango has joined #ocaml
Arzaga has joined #ocaml
manud_ has joined #ocaml
kizzx2 has joined #ocaml
ggole has joined #ocaml
darkf has quit [Read error: Connection reset by peer]
darkf has joined #ocaml
darkf has quit [Read error: Connection reset by peer]
darkf has joined #ocaml
csakatok_ has quit [Remote host closed the connection]
csakatoku has joined #ocaml
csakatoku has quit [Remote host closed the connection]
csakatoku has joined #ocaml
jbrown has quit [Ping timeout: 272 seconds]
osa1_ has joined #ocaml
osa1 has quit [Ping timeout: 240 seconds]
csakatoku has quit [Remote host closed the connection]
csakatoku has joined #ocaml
jbrown has joined #ocaml
Neros has quit [Ping timeout: 248 seconds]
osa1_ has quit [Quit: Konversation terminated!]
csakatoku has quit [Ping timeout: 272 seconds]
csakatoku has joined #ocaml
thelema has quit [Ping timeout: 246 seconds]
justdit has joined #ocaml
justdit has left #ocaml []
thelema has joined #ocaml
yacks has quit [Quit: Leaving]
manud_ has quit [Ping timeout: 240 seconds]
csakatok_ has joined #ocaml
csakatoku has quit [Ping timeout: 245 seconds]
kizzx2 has quit [Ping timeout: 246 seconds]
kizzx2 has joined #ocaml
kizzx21 has joined #ocaml
kizzx2 has quit [Ping timeout: 264 seconds]
ygrek has quit [Ping timeout: 272 seconds]
talzeus has joined #ocaml
wormphlegm has quit [Ping timeout: 246 seconds]
wormphlegm has joined #ocaml
Fnar has quit [Quit: Client exiting]
zpe has joined #ocaml
csakatok_ has quit [Remote host closed the connection]
csakatoku has joined #ocaml
wormphlegm has quit [Ping timeout: 264 seconds]
wormphlegm has joined #ocaml
csakatoku has quit [Ping timeout: 265 seconds]
wormphlegm has quit [Ping timeout: 272 seconds]
csakatoku has joined #ocaml
zpe has quit [Ping timeout: 252 seconds]
mcclurmc has quit [Remote host closed the connection]
mcclurmc has joined #ocaml
<whitequark> why the hell does opam export PERL5LIB?!
mcclurmc has quit [Ping timeout: 240 seconds]
wormphlegm has joined #ocaml
ygrek has joined #ocaml
_5kg has quit [Read error: Connection reset by peer]
rand000 has joined #ocaml
wormphlegm has quit [Ping timeout: 252 seconds]
zpe has joined #ocaml
ttamttam has joined #ocaml
zpe has quit [Ping timeout: 248 seconds]
wolfnn has joined #ocaml
manud_ has joined #ocaml
thelema has quit [Remote host closed the connection]
gour has joined #ocaml
thelema has joined #ocaml
_5kg has joined #ocaml
_5kg has quit [Client Quit]
_5kg has joined #ocaml
zpe has joined #ocaml
Arsenik has joined #ocaml
wormphlegm has joined #ocaml
<adrien> morning
wormphlegm has quit [Ping timeout: 272 seconds]
zpe has quit [Ping timeout: 246 seconds]
csakatoku has quit [Ping timeout: 240 seconds]
thomasga has joined #ocaml
csakatoku has joined #ocaml
kyrylo has joined #ocaml
AltGr has joined #ocaml
ontologiae_ has joined #ocaml
ontologiae_ has quit [Read error: Operation timed out]
cago has joined #ocaml
mika1 has joined #ocaml
zpe has joined #ocaml
Yoric has joined #ocaml
thomasga has quit [Quit: Leaving.]
thomasga has joined #ocaml
zpe has quit [Ping timeout: 272 seconds]
thelema has quit [Remote host closed the connection]
rand000 has quit [Ping timeout: 240 seconds]
thelema has joined #ocaml
ontologiae_ has joined #ocaml
ontologiae_ has quit [Ping timeout: 264 seconds]
wolfnn has quit [Ping timeout: 246 seconds]
wormphlegm has joined #ocaml
thelema has quit [Remote host closed the connection]
thelema_ has joined #ocaml
wormphlegm has quit [Ping timeout: 264 seconds]
Kakadu has joined #ocaml
rand000 has joined #ocaml
Simn has joined #ocaml
zpe has joined #ocaml
djcoin has joined #ocaml
dr_df0 has joined #ocaml
robink has quit [Quit: No Ping reply in 180 seconds.]
robink has joined #ocaml
acieroid` has joined #ocaml
tlockney_ has joined #ocaml
kyrylo has quit [Ping timeout: 252 seconds]
zpe has quit [Ping timeout: 260 seconds]
_5kg has quit [*.net *.split]
michael_lee has quit [*.net *.split]
mfp has quit [*.net *.split]
thizanne has quit [*.net *.split]
tlockney has quit [*.net *.split]
rks` has quit [*.net *.split]
zarul has quit [*.net *.split]
brendan has quit [*.net *.split]
acieroid has quit [*.net *.split]
tlockney_ is now known as tlockney
rks` has joined #ocaml
brendan has joined #ocaml
zarul has joined #ocaml
thizanne has joined #ocaml
michael_lee has joined #ocaml
mfp has joined #ocaml
_5kg has joined #ocaml
q66 has quit [Quit: Leaving]
syntropy has joined #ocaml
thelema_ has quit [Ping timeout: 272 seconds]
zbroyar has joined #ocaml
q66 has joined #ocaml
thelema has joined #ocaml
thelema has quit [Remote host closed the connection]
thelema has joined #ocaml
_andre has joined #ocaml
zpe has joined #ocaml
jonludlam has joined #ocaml
csakatoku has quit [Remote host closed the connection]
csakatoku has joined #ocaml
csakatoku has quit [Ping timeout: 260 seconds]
wormphlegm has joined #ocaml
csakatoku has joined #ocaml
Yoric has quit [Ping timeout: 246 seconds]
zpe has quit [Ping timeout: 252 seconds]
cago1 has joined #ocaml
cago has quit [Write error: Connection reset by peer]
thelema has quit [Remote host closed the connection]
wormphlegm has quit [Ping timeout: 246 seconds]
zpe has joined #ocaml
thelema has joined #ocaml
BitPuffin has joined #ocaml
ontologiae_ has joined #ocaml
csakatoku has quit []
q66 has quit [Quit: Leaving]
kizzx21 has quit [Quit: Leaving.]
q66 has joined #ocaml
zbroyar has left #ocaml []
thelema has quit [Remote host closed the connection]
thelema has joined #ocaml
zpe has quit [Read error: No route to host]
q66 has quit [Quit: Leaving]
thelema has quit [Remote host closed the connection]
<dch> whitequark: +1 that caused me a fair bit of trouble a fortnight ago too. perlbrew doesnt like that.
zpe has joined #ocaml
szacun has joined #ocaml
thelema has joined #ocaml
mcclurmc has joined #ocaml
<szacun> Hi! I have a problem. I have a following piece of code: type 'a test = 'a list * 'a list;; let x = ([], []);; How can i tell that lists inside x contain elements of same type, and x should be of type test?
<whitequark> let x : 'a test = ([], [])
mort___ has joined #ocaml
<szacun> thanks
<mrvn> although that gives you an '_a, not 'a
<mrvn> you probably need: let make () = (([], []) : 'a test);;
mcclurmc has quit [Ping timeout: 272 seconds]
<ggole> Hmm? Where does the '_a come from?
wolfnn has joined #ocaml
<mrvn> ggole: the x isn't polymorphic but it doesn't have a concrete type yet
<jpdeplaix> mrvn: I'm not sure :/
<jpdeplaix> # let x = ([], []);;
<jpdeplaix> val x : 'a list * 'b list = ([], [])
<jpdeplaix> it's polymorphic
avsm has joined #ocaml
<mrvn> jpdeplaix: that's not an 'a test :)
<whitequark> utop # let x : 'a test = ([], []);;
<whitequark> val x : 'a test = ([], [])
<mrvn> [] is somewhat magic in being 'a+ list I think.
Rc43 has joined #ocaml
<Rc43> Hi, guys.
<whitequark> [] and tuples are immutable, hence not subject to value restriction, I believe
<mrvn> whitequark: right. the compiler infers that correctly it seems.
manud_ has quit [Read error: Operation timed out]
<Rc43> I don't know ocaml, but know haskell and need to fix one ocaml source file (have no time to learn ocaml from the begin).
<ggole> This is just plain old let-polymorphism
<Rc43> Is there ad-hoc polymorphism in ocaml or something?
<Rc43> I encountered source where one function is applied to different number of arguments.
<whitequark> the value restriction paper explains this, I think...
<ggole> There's nothing magic about []
<ggole> Any constructor will work
<Rc43> Or maybe polyvariadic functions like in haskell?
<mrvn> Rc43: then one of the earlier arguments is a function and the remaing type depend on the type of that function.
<mrvn> Rc43: e.g. 'Printf.printf "%d" 1' and 'Printf.printf "%d %d" 1 2' where the format string determines the type of the remaining args.
<jpdeplaix> mrvn: lists are defined as covariants
<Rc43> mrvn, understood, not sure, but looks like haskell polyvariadic functions (using type class instances for function types); how it is called in ocaml?
<mrvn> Rc43: ocaml doesn't have an exakt equivalent to haskell type classes
<mrvn> jpdeplaix: yeah, we noticed above already
<mrvn> Rc43: why don't you show the code and error?
<Rc43> mrvn, there is no error; just examining Coq source; will link it to you now
<mrvn> if there is no error then what is there to fix?
<mrvn> It's hard to talk about a problem in the abstract
<Rc43> mrvn, I am applying patch for scala extraction and on some version it is broken; I want to apply commits and resolve merges manually
<Rc43> github.com/coq/coq/blob/trunk/plugins/extraction/modutil.ml
<Rc43> line 256
<Rc43> Function optim_se has 3 args, but at line 272 is applied to 4.
<mrvn> Rc43: optim_se takes 3 args and returns a function
<mrvn> the function is then called with the 4th arg
<mrvn> "let rec optim_se top to_appear s = function" == "let rec optim_se top to_appear s list = match list with"
<Rc43> mrvn, aaah
<Rc43> mrvn, thank you, it's clear now
q66 has joined #ocaml
<Rc43> mrvn, I read about "fun" and "function" differences but war not ery attentive in _where_ exactly pattern matching is performed
<Rc43> *was
ollehar has joined #ocaml
wormphlegm has joined #ocaml
<mrvn> function has pattern matching but only one argument, fun has multiple arguments but no pattern matching.
szacun has quit [Quit: Page closed]
Eyyub has joined #ocaml
rand000 has quit [Ping timeout: 260 seconds]
gour has left #ocaml []
<mrvn> In ocaml all values are pushed to the stack before a function call, right? Even those in callee saved registers, right?
wormphlegm has quit [Ping timeout: 272 seconds]
<whitequark> I think there's no callee saved registers
<whitequark> in the ocaml internal ABI
<mrvn> whitequark: that was my question. :)
<whitequark> so yes
yacks has joined #ocaml
mchqwerty has joined #ocaml
<mrvn> I was thinking all callee saved registers would at least have to be tagged or boxed. No optimization across function calls.
rand000 has joined #ocaml
thelema has quit [Ping timeout: 252 seconds]
Yoric has joined #ocaml
asdf_ has joined #ocaml
zpe has quit [Remote host closed the connection]
<Rc43> Am I right that 'and' keyword just couples two let-bindings into one "context"?
<Rc43> I.e. let <bind1> and <bind2> and <bind3> in >something>.
<Drup> Rc43: yes
<mrvn> Rc43: 'let x = y and y = x' swaps the two, 'let x = y let y = x' sets them both to y
<Rc43> got it, thanks
<whitequark> I vaguely recall seeing a construct in ocaml for defining constrained parametric types
<whitequark> something like type 'a foo = ... with 'a ...
dsheets has joined #ocaml
<whitequark> but I can't find any documentation for it right now
<Drup> whitequark: "type 'a foo = A of 'a constraint 'a = < .. >" ??
<Drup> there is also the "with type" and "with module" for modules/functors
q66 has quit [Quit: Leaving]
ygrek has quit [Ping timeout: 252 seconds]
rand000 has quit [Ping timeout: 265 seconds]
zpe has joined #ocaml
<whitequark> Drup: yeah, thanks
<whitequark> I was wondering whether I can do something interesting with constraint 'a = < .. >
<whitequark> I guess it only works with OO...
rand000 has joined #ocaml
<whitequark> fascinating feature
<Drup> and with polymorphic variants ;)
<whitequark> hm, why not with, say, regular variants?
<Drup> or any kind of polymorphic type, I think
Neros has joined #ocaml
talzeus has quit [Remote host closed the connection]
<whitequark> yup, works with type 'a foo = 'a list constraint 'a = < .. >
<Drup> and you can put whatever you want on the "constraint" part
<mrvn> # type 'a foo = 'a list constraint 'a = int;;
<Drup> quite usefull for phantom type stuff
<whitequark> oooh, this is neat
<whitequark> yes
<whitequark> doing phantom type stuff right now :)
<whitequark> guess this is why I remembered that
<whitequark> how about constraint 'a = int | char ?
<mrvn> no | in types
<Drup> whitequark: it has to be a real type
<whitequark> but, this could work in constraints
<whitequark> why not?
<whitequark> actually, I think I understand
<mrvn> whitequark: that would be an artifical limit. If the code works with int and char then it works with any 'a
<whitequark> right
<mrvn> ignoring Obj.magic stuff here
<Drup> mrvn: I'm going to quote you on this one.
<Drup> :)
<whitequark> Obj.magic probably won't be very useful there... since you cannot distinguish various objects very well
rand000 has quit [Ping timeout: 252 seconds]
<mrvn> whitequark: you can easily have code that uses Obj.magic to turn any integer type into an int and will fail with any pointer type.
thelema has joined #ocaml
<mrvn> That would need a constrain 'a = int | char | unit | bool
<whitequark> I'm not really sure where would this be useful :)
<whitequark> except some FFI, but with FFI all bets are off anyway
<mrvn> whitequark: that's why I wanted to ignore it
<mrvn> Does a constrain with a non object type make sense anywhere? can't that be always written wirectly without a constraint?
<mrvn> s/wirectly/directly/
<whitequark> seems like it's a side effect of a general implementation
<whitequark> maybe you could use it in very narrow cases to get better error messages
<mrvn> maybe in functors
tobiasBora has joined #ocaml
ttamttam has quit [Quit: ttamttam]
q66 has joined #ocaml
wormphlegm has joined #ocaml
mort___ has quit [Quit: Leaving.]
<ggole> Sigh
<ggole> Writing a side effecting loop as recursive function and then forgetting to call it is a good way to make yourself feel dumb.
mchqwerty has quit [Remote host closed the connection]
mchqwerty has joined #ocaml
ygrek has joined #ocaml
wormphlegm has quit [Ping timeout: 246 seconds]
asdf_ has quit [Ping timeout: 250 seconds]
nikki93 has quit [Remote host closed the connection]
talzeus has joined #ocaml
arj has joined #ocaml
<whitequark> oh, I found another usage for constraint
<whitequark> type foo = [`A | `B]
<whitequark> type 'a bar = private int constraint 'a = foo
<whitequark> or [<foo]
<whitequark> seems like you can't write that with type foo bar
<mrvn> good call
<Drup> whitequark: told you, poly variants ;)
<Drup> phantom type ftw :]
<whitequark> totally
<ggole> What does that allow? Can you still make a [`A] bar, [`B] bar, etc?
<whitequark> but, you cannot make [`C] bar
<mrvn> you can't make them though since they are private. But you can use them.
ygrek has quit [Ping timeout: 272 seconds]
<ggole> Hrm, interesting
<whitequark> fun fact: in ocamldoc, the type above renders as type [< foo ] t = private int
<whitequark> wonder why this isn't valid ocaml code
nikki93 has joined #ocaml
nikki93 has quit [Ping timeout: 272 seconds]
thelema has quit [Ping timeout: 272 seconds]
<vbmithr_> I've got a question about ocamlbuild
acieroid` is now known as acieroid
<vbmithr_> By default, when asking to build a .cmxs file, it builds it from the .cmx file, even with a .cmxa is present
<vbmithr_> I'm wondering how to make it use the .cmxa instead
<whitequark> why?
<jpdeplaix> vbmithr_: this batteries issue can help you I think: https://github.com/ocaml-batteries-team/batteries-included/pull/460
thomasga has quit [Quit: Leaving.]
<vbmithr_> ok
talzeus has quit [Read error: Connection reset by peer]
wormphlegm has joined #ocaml
talzeus has joined #ocaml
gdk has joined #ocaml
wormphlegm has quit [Ping timeout: 272 seconds]
thelema has joined #ocaml
<whitequark> I've built a toplevel with ocamlbuild and an mltop file; ocamlobjinfo foo.top shows module A in the list
<whitequark> however A.foo fails with "Unbound module A"
<whitequark> why?
<whitequark> echo "let a = 1" >a.ml; echo "A" >a.mltop; ocamlbuild a.top -- reproduces
<whitequark> oh, need to #directory for that to work. hm, is there any way to avoid it?
darkf has quit [Quit: Leaving]
<ggole> Put a .ocamlinit in the directory with the right stuff
<whitequark> nice, thanks
thelema has quit [Read error: Connection reset by peer]
<whitequark> o_O why does this typecheck? https://gist.github.com/whitequark/49c648de2eccd4d241a0
<whitequark> the result has type 'a foo
<rks`> why shouldn't it?
<whitequark> [`A] is not [`B] ?
<mrvn> whitequark: they are both int
<mrvn> You need to put phantom types into module and keep the type abstract for it to work
<jpdeplaix> your type in not abstract
<whitequark> oh.
<mrvn> s/and/or/
<whitequark> thanks, it works
thomasga has joined #ocaml
thelema has joined #ocaml
gdk has quit [Ping timeout: 260 seconds]
rand000 has joined #ocaml
wormphlegm has joined #ocaml
Arzaga has quit [Quit: Computer has gone to sleep.]
avsm1 has joined #ocaml
avsm has quit [Ping timeout: 265 seconds]
ollehar has quit [Ping timeout: 265 seconds]
Rc43 has left #ocaml []
thomasga has quit [Quit: Leaving.]
Xenasis has joined #ocaml
<Drup> thomasga: I have stucked my opam by adding a pin path with a space in it, by mistake. No it's stuck with "[ERROR] too many pinning options" whatever I try to do. How do I unstuck it ? :D
<Drup> Now*
<avsm1> quotes?
ontologiae_ has quit [Ping timeout: 260 seconds]
<Drup> I did something like "opam pin package "stuff/with space" "
ontologiae_ has joined #ocaml
<jpdeplaix> Drup: I guess, a simple way would be to find the file responsible for pinned packages and modify it by hands
<Drup> I tried
<Drup> a good old grep "package" didn't return anything
<Drup> (anything interesting at least"
<Drup> It's stored somewhere, but I don't know where exactly
thomasga has joined #ocaml
ontologiae_ has quit [Ping timeout: 260 seconds]
nikki93 has joined #ocaml
zpe has quit [Remote host closed the connection]
nikki93 has quit [Ping timeout: 264 seconds]
arj has quit [Quit: Leaving.]
ontologiae_ has joined #ocaml
amirmc has joined #ocaml
ontologiae_ has quit [Read error: Connection reset by peer]
ygrek has joined #ocaml
Arzaga has joined #ocaml
talzeus has quit [Read error: Connection reset by peer]
amirmc has quit [Quit: Leaving.]
amirmc has joined #ocaml
mcclurmc has joined #ocaml
w0rm_x has joined #ocaml
w0rm_x has quit [Remote host closed the connection]
w0rm_x has joined #ocaml
w0rm_x has quit [Client Quit]
thomasga has quit [Quit: Leaving.]
mcclurmc has quit [Remote host closed the connection]
mcclurmc has joined #ocaml
mcclurmc has quit [Ping timeout: 260 seconds]
thomasga has joined #ocaml
zpe has joined #ocaml
cago1 has left #ocaml []
djcoin has quit [Quit: WeeChat 0.4.1]
nikki93 has joined #ocaml
thomasga has quit [Client Quit]
mika1 has quit [Quit: Leaving.]
q66_ has joined #ocaml
q66 has quit [Disconnected by services]
q66_ is now known as q66
mfp has quit [Read error: Operation timed out]
nikki93 has quit [Ping timeout: 272 seconds]
Yoric has quit [Ping timeout: 265 seconds]
amirmc has quit [Quit: Leaving.]
gdk has joined #ocaml
amirmc has joined #ocaml
shinnya has joined #ocaml
rossberg has quit [Remote host closed the connection]
Rc43 has joined #ocaml
Simn has quit [Ping timeout: 252 seconds]
<Rc43> What's the difference between '=' and '==' in expressions?
Eyyub has quit [Ping timeout: 246 seconds]
<mrvn> comparing contents and addresses
Eyyub has joined #ocaml
thomasga has joined #ocaml
<ggole> Use of == is suspicious unless you really want to know whether you are looking at the same mutable thing
<Rc43> mrvn, '=' compares contents? Is it called 'generic equality'?
mfp has joined #ocaml
<mrvn> it's called equal
thomasga has quit [Client Quit]
<Rc43> ggole, just looking at commit, where all '=' are replaced with '=='
<ggole> All? Or just all that are applied for a particular type?
<mrvn> # "foo" == "foo";;
<mrvn> - : bool = false
<mrvn> have fun
zpe has quit [Remote host closed the connection]
Arzaga has quit [Quit: Computer has gone to sleep.]
<adrien_oww> Rc43: where? it sounds like a completely stupid change
amirmc has quit [Quit: Leaving.]
ontologiae_ has joined #ocaml
<Rc43> adrien_oww, at Coq: tinyurl.com/nwvffjd
<Rc43> about 80 new occurencies of '=='
<companion_cube> == is very useful if you do hashconsing
<adrien_oww> for chars and ints, == is the same as =
<adrien_oww> apart from that, the people writing coq know their ocaml fairly well
<adrien_oww> at least well enough for ==
<ggole> Looks like a performance oriented patch to me
<adrien_oww> it seems their use of '==' is equivalent to '=' (at least for the cases I've looked at)
<ggole> x < y changed to (x : int) < y
<adrien_oww> I'm not sure I understand why they've had to do that
<adrien_oww> (I'm not sure it changes performance)
<adrien_oww> and the commit message doesn't mention the gains
<ggole> It does in some cases, at least with 4.01
<mrvn> (<) : 'a -> 'a -> bool is way slower than (<) : int -> int -> bool
<mrvn> the former is a C function call
<adrien_oww> yes
<adrien_oww> but ocaml still uses the generic comparison with one operand of type char?
<ggole> char is specialised afaik
<ggole> Maybe the patch is overzealous
<ggole> Taking a look, let test1 (a:char) b = a < b and let test2 (a:int) b = a < b both give cmpl/setl/movzbl
<adrien_oww> what about
<adrien_oww> let test3 a = a = 'x'
<adrien_oww> ?
<ggole> cmpl/sete/movzbl again (but with a constant operand)
Neros has quit [Read error: Operation timed out]
<ggole> Same for nullary constructors
<adrien_oww> thanks
<mrvn> should work for any non-pointer type
BitPuffin has quit [Quit: WeeChat 0.4.2]
mcclurmc has joined #ocaml
oriba has joined #ocaml
amirmc has joined #ocaml
gdk has quit [Ping timeout: 272 seconds]
Eyyub has quit [Ping timeout: 245 seconds]
Anarchos has joined #ocaml
nikki93 has joined #ocaml
amirmc has quit [Ping timeout: 245 seconds]
nikki93 has quit [Ping timeout: 252 seconds]
yacks has quit [Quit: Leaving]
Yoric has joined #ocaml
mchqwerty has quit [Remote host closed the connection]
Kakadu has quit []
ygrek has quit [Ping timeout: 260 seconds]
gdk has joined #ocaml
Arsenik has quit [Remote host closed the connection]
Neros has joined #ocaml
avsm1 has quit [Quit: Leaving.]
avsm has joined #ocaml
gdk has quit [Quit: Leaving]
<gasche> 17:21 < adrien_oww> I'm not sure I understand why they've had to do that
<gasche> one possibility would be that Coq developers have decided to eradicate polymorphic equality
<gasche> (for performance concerns *and* for correctness concerns, because it's hard to keep track of where you may store closures)
<gasche> so they might have a runtime instrumented with warnings when polymorphic equality is used, and they tune their code to remove any such warning
<gasche> (or at least they may code as if they had, or plan to later have, such a check available)
<gasche> hm
<gasche> no need to change the runtime, just use let (=) = () in your project prelude
amirmc has joined #ocaml
shinnya has quit [Ping timeout: 272 seconds]
<gasche> I have frequent discussions with PMP, the author of this kind of patches, and he's been optimizing the hell out of low-level OCaml details these last few months
<gasche> there have been important feature changes in Coq recently, and his ugly tricks have helped break even on the performance front
amirmc has quit [Client Quit]
avsm has quit [Ping timeout: 252 seconds]
vpm has quit [Quit: co'o]
<Anarchos> gasche speaking about coq, do you know if modifications of the HoTT group will be merge soon in the trunk ?
ollehar has joined #ocaml
vpm has joined #ocaml
<mrvn> gasche: then 1 = 1 stops working
<rks`> mrvn: that's the point
<rks`> you use Int.(=) 1 1 :)
<mrvn> 1 = 1 is not the polymorphic equality
<gasche> yes, but if it is (x = y), and the type of x and y may change when you refactor your code...
<gasche> going anyway
<mrvn> let (=) : int -> int -> int = fun x y -> x = y would be better
zpe has joined #ocaml
ollehar has quit [Ping timeout: 260 seconds]
zpe has quit [Ping timeout: 264 seconds]
<mcclurmc> i just ran opam update/opam upgrade, and got "opam upgrade failed / cud2opam(dose-dummy-request,1)"
<mcclurmc> any ideas why?
mort___ has joined #ocaml
oriba has quit [Quit: oriba]
jonludlam has quit [Remote host closed the connection]
thelema has quit [Ping timeout: 252 seconds]
thelema has joined #ocaml
AltGr has left #ocaml []
BitPuffin has joined #ocaml
Neros_ has joined #ocaml
syntropy has quit [Quit: Page closed]
nikki93 has joined #ocaml
Neros has quit [Ping timeout: 245 seconds]
nikki93 has quit [Ping timeout: 264 seconds]
nikki93 has joined #ocaml
mcclurmc has quit [Remote host closed the connection]
mcclurmc has joined #ocaml
Kakadu has joined #ocaml
mcclurmc has quit [Ping timeout: 245 seconds]
Kakadu has quit [Client Quit]
demonimin has quit [Ping timeout: 264 seconds]
demonimin has joined #ocaml
adrien has quit [Quit: tu vas reset, oui !]
adrien has joined #ocaml
michael_lee has quit [Remote host closed the connection]
hyperboreean has quit [Ping timeout: 272 seconds]
mcclurmc has joined #ocaml
mort___ has quit [Quit: Leaving.]
tobiasBora has quit [Ping timeout: 246 seconds]
osa1 has joined #ocaml
WraithM has joined #ocaml
mcclurmc has quit [Remote host closed the connection]
mcclurmc has joined #ocaml
zhbfvuvabar87r has joined #ocaml
zhbfvuvabar87r has quit [Excess Flood]
adrien has quit [Quit: risettte !]
mcclurmc has quit [Ping timeout: 245 seconds]
adrien has joined #ocaml
WraithM has quit [Ping timeout: 246 seconds]
ontologiae_ has quit [Ping timeout: 246 seconds]
WraithM has joined #ocaml
_arj has quit [Quit: changing servers]
arj has joined #ocaml
mort___ has joined #ocaml
thizanne has quit [Ping timeout: 246 seconds]
arj has quit [Client Quit]
thizanne has joined #ocaml
arj has joined #ocaml
tobiasBora has joined #ocaml
ollehar has joined #ocaml
_andre has quit [Quit: leaving]
arj has quit [Client Quit]
arj has joined #ocaml
thizanne has quit [Ping timeout: 260 seconds]
dsheets has quit [Ping timeout: 252 seconds]
arj has quit [Client Quit]
arj has joined #ocaml
thizanne has joined #ocaml
arj has quit [Client Quit]
arj has joined #ocaml
ggole has quit []
arj has quit [Client Quit]
arj has joined #ocaml
arj has quit [Client Quit]
arj has joined #ocaml
arj has quit [Client Quit]
arj has joined #ocaml
arj has quit [Client Quit]
arj has joined #ocaml
arj has quit [Client Quit]
arj has joined #ocaml
Neros_ has quit [Ping timeout: 246 seconds]
arj has quit [Client Quit]
arj has joined #ocaml
mostlyfledby is now known as KoRnshell
arj has quit [Client Quit]
arj has joined #ocaml
arj has quit [Max SendQ exceeded]
arj has joined #ocaml
arj has quit [Max SendQ exceeded]
arj has joined #ocaml
arj has quit [Max SendQ exceeded]
arj has joined #ocaml
arj has quit [Max SendQ exceeded]
arj has joined #ocaml
arj has quit [Max SendQ exceeded]
arj has joined #ocaml
WraithM has quit [Quit: Lost terminal]
WraithM has joined #ocaml
kyrylo has joined #ocaml
tane has joined #ocaml
jpeeters has joined #ocaml
<jpeeters> Hi every one, can someone help me with camlp4 (> 3.10) ?
WraithM has quit [Ping timeout: 260 seconds]
<jpeeters> The following code does not work, how can I make it work ? http://pastebin.com/W2BiVeSW
dsheets has joined #ocaml
WraithM has joined #ocaml
demonimin has quit [Ping timeout: 252 seconds]
mort___ has left #ocaml []
w0rm_x has joined #ocaml
w0rm_x has quit [Client Quit]
yacks has joined #ocaml
Neros has joined #ocaml
tobiasBora has quit [Quit: Konversation terminated!]
demonimin has joined #ocaml
thelema has quit [Remote host closed the connection]
demonimin has quit [Ping timeout: 252 seconds]
thelema has joined #ocaml
arj1 has joined #ocaml
<Rc43> How to determine to which package function belongs?
<Rc43> I don't see any keywords like struct or module.
<Drup> the name of the file is the name of the module
<Drup> (does that answer your question ?)
<Rc43> What if there is .mli file? I have cString.ml and cString.mli.
<Drup> foo.mli is the exported signature of the Foo module in the foo.ml source file
<Rc43> So module is called CString?
<Drup> yes
<Drup> and you can see the signature (and most likely the documentation) in the .mli file
<Rc43> Ok, thank you.
tntnt has joined #ocaml
thelema has quit [Read error: No route to host]
thelema has joined #ocaml
jpeeters has left #ocaml []
thelema has quit [Ping timeout: 272 seconds]
milosn has quit [Read error: Operation timed out]
milosn has joined #ocaml
amirmc has joined #ocaml
Simn has joined #ocaml
tntnt has quit [Ping timeout: 272 seconds]
tntnt has joined #ocaml
arj1 has quit [Quit: Leaving.]
Rc43 has quit [Quit: WeeChat 0.4.2]
<jpdeplaix> whitequark: how often is the merging with release_34 ? Or is it « à la carte »
<jpdeplaix> ?
rand000 has quit [Quit: leaving]
WraithM has quit [Ping timeout: 264 seconds]
strobegen has quit [Quit: Leaving.]
Anarchos has quit [Quit: Vision[0.9.7-H-280704]: i've been blurred!]
thelema has joined #ocaml
amirmc has quit [Quit: Leaving.]
thelema has quit [Remote host closed the connection]
Arzaga has joined #ocaml
thelema has joined #ocaml
darkf has joined #ocaml
amirmc has joined #ocaml
rwmjones has quit [Ping timeout: 246 seconds]
amirmc has quit [Client Quit]
rwmjones has joined #ocaml
BitPuffin has quit [Ping timeout: 260 seconds]
brendan has quit [Ping timeout: 272 seconds]
brendan has joined #ocaml
Yoric has quit [Ping timeout: 252 seconds]
Arzaga has quit [Quit: Computer has gone to sleep.]
talzeus has joined #ocaml
thelema has quit [Ping timeout: 246 seconds]
nikki93 has quit [Remote host closed the connection]
talzeus_ has joined #ocaml
talzeus has quit [Ping timeout: 246 seconds]
nikki93 has joined #ocaml
Arzaga has joined #ocaml
ygrek has joined #ocaml
nikki93 has quit [Remote host closed the connection]
madroach has quit [Ping timeout: 264 seconds]
wolfnn has quit [Ping timeout: 260 seconds]
madroach has joined #ocaml
Simn has quit [Quit: Leaving]
q66 has quit [Remote host closed the connection]
q66 has joined #ocaml
w0rm_x has joined #ocaml
q66 has quit [Read error: Connection reset by peer]
q66 has joined #ocaml