ChanServ changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | http://www.ocaml.org | OCaml 4.01.0 announce at http://bit.ly/1851A3R | Logs at http://irclog.whitequark.org/ocaml
rgrinberg has quit [Quit: Leaving.]
maattdd has quit [Ping timeout: 272 seconds]
ontologiae has quit [Ping timeout: 255 seconds]
lordkryss has quit [Ping timeout: 244 seconds]
thomasga has quit [Quit: Leaving.]
ontologiae has joined #ocaml
Eyyub has joined #ocaml
BitPuffin has joined #ocaml
ontologiae has quit [Ping timeout: 240 seconds]
philtor_ has quit [Ping timeout: 240 seconds]
dapz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
BitPuffin has quit [Ping timeout: 272 seconds]
racycle has quit [Quit: ZZZzzz…]
tlockney is now known as tlockney_away
_tca has joined #ocaml
mcclurmc has quit [Remote host closed the connection]
mcclurmc has joined #ocaml
q66 has quit [Quit: Leaving]
mcclurmc has quit [Ping timeout: 244 seconds]
mcclurmc has joined #ocaml
mcclurmc has quit [Ping timeout: 240 seconds]
shinnya has quit [Ping timeout: 240 seconds]
bbarker has joined #ocaml
ygrek has joined #ocaml
philtor_ has joined #ocaml
rgrinberg has joined #ocaml
mcclurmc has joined #ocaml
claudiuc has quit [Remote host closed the connection]
ygrek has quit [Ping timeout: 272 seconds]
strobegen has joined #ocaml
mcclurmc has quit [Remote host closed the connection]
penglingbo has joined #ocaml
philtor_ has quit [Ping timeout: 245 seconds]
Eyyub has quit [Ping timeout: 245 seconds]
glurky has quit [Ping timeout: 272 seconds]
mcclurmc has joined #ocaml
tnguyen1 has quit [Ping timeout: 244 seconds]
studybot_ has joined #ocaml
ygrek has joined #ocaml
msch has quit [Ping timeout: 252 seconds]
_tca has quit [Ping timeout: 252 seconds]
jzelinskie has quit [Ping timeout: 252 seconds]
SethTisue_______ has quit [Ping timeout: 252 seconds]
bbarker has quit [Ping timeout: 252 seconds]
SethTisue_______ has joined #ocaml
msch has joined #ocaml
andreypopp has quit [Ping timeout: 240 seconds]
leifw has quit [Ping timeout: 252 seconds]
_tca has joined #ocaml
bbarker has joined #ocaml
_tca has quit [Changing host]
_tca has joined #ocaml
_tca has joined #ocaml
_tca has quit [Client Quit]
steshaw has quit [Ping timeout: 252 seconds]
leifw has joined #ocaml
jzelinskie has joined #ocaml
andreypopp has joined #ocaml
_tca has joined #ocaml
steshaw has joined #ocaml
racycle has joined #ocaml
philtor_ has joined #ocaml
racycle has quit [Quit: ZZZzzz…]
axiles has joined #ocaml
rgrinberg has quit [Quit: Leaving.]
rgrinberg has joined #ocaml
boogie has quit [Remote host closed the connection]
bbarker has quit [Quit: Connection closed for inactivity]
manizzle has quit [Ping timeout: 245 seconds]
slash^ has joined #ocaml
pyon has quit [Remote host closed the connection]
nickmeharry has quit [Ping timeout: 240 seconds]
nickmeharry has joined #ocaml
ggole has joined #ocaml
philtor_ has quit [Ping timeout: 264 seconds]
JokerDoom has quit [Read error: Connection reset by peer]
JokerDoom has joined #ocaml
ggole_ has joined #ocaml
ggole has quit [Ping timeout: 240 seconds]
ygrek has quit [Ping timeout: 240 seconds]
ggole_ is now known as ggole
fraggle_ has quit [Remote host closed the connection]
fraggle_ has joined #ocaml
pyon has joined #ocaml
manizzle has joined #ocaml
elfring has joined #ocaml
ddosia has quit [Quit: Leaving.]
ddosia has joined #ocaml
rgrinberg has quit [Read error: Connection reset by peer]
rgrinberg has joined #ocaml
ygrek has joined #ocaml
Simn has joined #ocaml
cross has quit [Ping timeout: 260 seconds]
deavidsedice has joined #ocaml
cross has joined #ocaml
cago has joined #ocaml
johnelse_ has joined #ocaml
mk270_ has joined #ocaml
thomasga has joined #ocaml
deavid has quit [Quit: No Ping reply in 180 seconds.]
johnelse has quit [Ping timeout: 252 seconds]
mk270 has quit [Ping timeout: 252 seconds]
asmanur has quit [Ping timeout: 252 seconds]
rgrinberg has quit [Write error: Connection reset by peer]
rgrinberg has joined #ocaml
asmanur has joined #ocaml
waern has joined #ocaml
Kakadu has joined #ocaml
AltGr has joined #ocaml
SethTisue has joined #ocaml
claudiuc has joined #ocaml
rgrinberg has quit [Read error: Connection reset by peer]
rgrinberg has joined #ocaml
alpounet has joined #ocaml
alpounet has quit [Remote host closed the connection]
alpounet has joined #ocaml
ggole has quit [Read error: Connection reset by peer]
dapz has joined #ocaml
ggole has joined #ocaml
thomasga has quit [Quit: Leaving.]
thomasga has joined #ocaml
dapz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jludlam has joined #ocaml
avsm has joined #ocaml
johnelse_ is now known as johnelse
huza has joined #ocaml
hhugo has joined #ocaml
<ggole> def`: ping
<def`> ggole: pong
lordkryss has joined #ocaml
ebzzry_ has joined #ocaml
rgrinberg has quit [Read error: Network is unreachable]
ebzzry has quit [Ping timeout: 255 seconds]
rgrinberg has joined #ocaml
dsheets has joined #ocaml
adrien has quit [Ping timeout: 240 seconds]
<orbitz> ggole: ping
<orbitz> dsheets: ping
<dsheets> hi
<ggole> orbitz: o/
maattdd has joined #ocaml
<orbitz> hi
<orbitz> i thought we were playing a text game of ping pong
BitPuffin has joined #ocaml
<dsheets> ping rong
adrien has joined #ocaml
<BitPuffin> ping pong
<ggole> ...
<BitPuffin> it rhymed, I was given no choice
<dsheets> orbitz, everything nice in <your location>?
avsm has quit [Quit: Leaving.]
SethTisue has quit [Quit: SethTisue]
remyzorg has joined #ocaml
huza has quit [Ping timeout: 244 seconds]
remyzorg has quit [Ping timeout: 240 seconds]
ikaros has joined #ocaml
avsm has joined #ocaml
glurky has joined #ocaml
maattdd has quit [Ping timeout: 255 seconds]
alpounet has quit [Read error: Connection reset by peer]
alpounet has joined #ocaml
ggole_ has joined #ocaml
ontologiae has joined #ocaml
* ggole_ murders his flaky internets
ggole has quit [Ping timeout: 244 seconds]
<BitPuffin> so here I'm a little bit confused
<BitPuffin> Ok (Array.sexp_of_t String.sexp_of_t (Sys.readdir dir))
<BitPuffin> is Sys.readdir dir's result a parameter to String.sexpt_of_t or is both of them arguments to Array.sexp_of_t
waern has quit [Ping timeout: 240 seconds]
ggole_ is now known as ggole
<BitPuffin> thnik both of them are arguments
avsm has quit [Quit: Leaving.]
<ggole> They are both args, yes
waern has joined #ocaml
<dsheets> any ideas on why this: https://gist.github.com/dsheets/27fcbd21a3bf5fcba8af occurs on a new system I've installed?
<dsheets> caml.inria.fr seems down, btw
glurky has quit [Ping timeout: 245 seconds]
<mrvn> does it exist?
<mrvn> What file does #use "topfind" look for exactly? .cmo?
<dsheets> looks for the file that i print the first line of
<dsheets> only does this in a script not the interactive toplevel
<mrvn> are you sure? starce it
<mrvn> .oO(Why do you use opam as root?)
<dsheets> mrvn, in a VM
<dsheets> running system tests and need root
lordkryss_ has joined #ocaml
lordkryss has quit [Ping timeout: 240 seconds]
divyanshu has joined #ocaml
<dsheets> mrvn, it looks like it checks a path relative to the compiler install
pngl has joined #ocaml
<dsheets> still tracking down the bit of the toplevel source that makes the determination
<BitPuffin> hm, | Sexp.List [Sexp.Atom name; query] ->... - I know that it's matching name and query, which both must be of type Sexp, but the Sexp.Atom part confuses me
<BitPuffin> ah wait
<BitPuffin> it's an algebraic type
<pngl> Trying out the demo.ml file for ocamlgraph, I get "reference to undefined global `Graphics'. I compiled with ocamlfind ocamlc -o demo -package graphics,ocamlgraph demo.ml
<flux> does local opening workin that context? | Sexp.(List [Atom name; query) -> ..
<BitPuffin> does it mean that both name and query is an Atom?
<def`> -linkpkg
<flux> if it doesn't, it should :-)
<def`> pngl: add -linkpkg flag
<flux> (I think it may not, as it's not an expression..)
rgrinberg has quit [Quit: Leaving.]
<pngl> def`: thanks!
<BitPuffin> ah right, I think you anly have to specify it for one of the list elements or something
<BitPuffin> then it can infer that the rest will be the same because lists are homogenous
<orbitz> dsheets: It's a bit rainy in <my location>, but it's a holiday tomorrow hopefuly it will be nicer out then
<flux> actually it may not be able to infer that
<flux> but there have been some enhancements to it, so maybe it does nowadays.
<BitPuffin> I remember reading something like that somewhere in real world ocaml
jbrown has quit [Remote host closed the connection]
pngl has quit [Quit: Page closed]
jbrown has joined #ocaml
<mrvn> Given the type of one element it infers the type of the list. That then goes back fixing the type of all elements of the list.
claudiuc has quit [Remote host closed the connection]
<flux> cool, just tried that it indeed does work in 4.01
<flux> but | ModuleName.(pattern) doesn't work
<flux> it would be nice if it worked as well.
<mrvn> that seems like a bug
<mrvn> Use ModuleName.(match ... )
eikke_ has joined #ocaml
pyon has quit [Remote host closed the connection]
penglingbo has quit [Ping timeout: 240 seconds]
pyon has joined #ocaml
<BitPuffin> don't forget to report the bug if it isn't already reported
<dsheets> mrvn, the ultimate problem was that .ocamlinit is not loaded for non-interactive interpretation. bug-worthy? sensical?
<mrvn> if you want it then load it
<mrvn> personally I never write ocaml scripts. I just compile the code.
<dsheets> right, i'd like the same behavior as the user sees, though which would require 10+ lines at the top of scripts
<mrvn> and when my .ocamlinit contains open Core then your code fails
<dsheets> mrvn, true, i think something analogous to bashrc/bash_profile would be nice
<dsheets> there are some environmental configs and some interactive use configs that are separate
rand000 has joined #ocaml
rand000 has quit [Read error: Connection reset by peer]
rand000 has joined #ocaml
termos has left #ocaml [#ocaml]
Nuki has joined #ocaml
sagotch has joined #ocaml
waern has quit [Ping timeout: 240 seconds]
maattdd has joined #ocaml
waern has joined #ocaml
thomasga has quit [Quit: Leaving.]
maattdd has quit [Ping timeout: 264 seconds]
<adrien> that'd probably kill most "ocaml" scripts
<dsheets> separating interactive and non-interactive configuration?
<adrien_oww> having a configuration for non-interactive
<dsheets> adrien_oww, why? it would do things like add search paths
<adrien_oww> build scripts :)
<flux> I suppose there could be another init file, but .ocamlinit is sucha good name :)
<dsheets> yeah, if the user has a crazy config, i'd like my build script to automatically adapt
<adrien_oww> yeah, crappy name :)
<adrien_oww> #use "~/foo_config.ml" at the top of your scripts or add a couple lines of ocamlfind-related stuff
shinnya has joined #ocaml
<flux> but such files cannot be compiled anymore.
<dsheets> eh, don't care, already using #use "topfind" and #require "unix"
<flux> (also does ~ expansion really work there?)
thomasga has joined #ocaml
<dsheets> just needed topfind in the search path... requires Topdir.dir_directory (Sys.getenv "OCAML_TOPLEVEL_PATH") but this is v opam specific
<dsheets> in general, they'll have topfind in a sane place but this is still not great
<ousado> is there some document about the ocaml calling conventions?
<adrien_oww> flux: no, ~ doesn't work, but it could
MasseR has joined #ocaml
<dsheets> i'd rather introduce a non-interactive config script than allow ~ and risk competing de facto configs with terrible names
NoNNaN has joined #ocaml
<adrien_oww> I'd first stop reading it in $PWD
divyanshu has quit [Quit: Computer has gone to sleep.]
<dsheets> .ocamlinit or #use "path"?
<dsheets> .ocamlinit from $PWD seems a bit crazy
<flux> it's very nice, I often have very different .ocamlinits for different projects
<dsheets> flux, couldn't you simulate this behavior from a global .ocamlinit loader, though?
<flux> maybe, although I'm not certain how. but probably with the help of the Toplevel module
<dsheets> yeah, Topdirs
ygrek has quit [Ping timeout: 245 seconds]
darkf has quit [Quit: Leaving]
<MasseR> I'm trying to learn ocaml. Could I have some review on this: http://pastebin.com/AvZQJuVH
<ggole> ousado: whitequark did a bit of a writeup a while back
<ggole> ousado: it is unofficial but informative. Poke around and you should find it.
<ousado> ggole: nice, thanks
<ousado> I'm mostly interested in how ocaml passes arguments on the stack (when it does)
<ousado> to closures
<ggole> Hmm, I'm not sure that there's any particular special case there
<ousado> we're implementing closure for the haxe C target
<ousado> and I'm thinking about making all arguments 64bit values, and I wonder how ocaml does about that
<ousado> *goes
seanmcl has joined #ocaml
<whitequark> ocaml splits the arguments into integer and floating point
<whitequark> integers are all pointer-sized
<whitequark> floating-point are passed in xmm registers
<whitequark> the arguments which don't fit in available registers are spilled to stack
<ousado> aligned to the biggest one?
<whitequark> there's also weird crap done on 32-bit x86 to work around the fact that it has like 6 integer registers available
<whitequark> hm
<whitequark> ousado: since you're making a C target, how does it matter? your choice is dictated by the C ABI
<ggole> Everything is word sized, so I don't see why there would be any alignment
<ggole> (I should say "caml value" sized.)
<whitequark> alignment is weird
<ousado> I think we should do the same
<ggole> But yeah, if you are compiling to C you get what you get
<whitequark> take a look at the C ABI then
<whitequark> for your target platform. there are at least three
<ousado> yes, well, we want a compromise between complexity and efficiency
<ggole> There are at least 3 just for gcc/linux
<whitequark> ugh
<ggole> Maybe 4 if you include the old SysV stuff
<ggole> But I think all guarantee enough alignment for ocaml values
<whitequark> ggole: there are actually a few dozen for gcc/linux :D
<whitequark> (by the number of platforms they support)
<ggole> Yeah, I should probably have said gcc/linux/x86
waern has quit [Ping timeout: 240 seconds]
* whitequark . o O ( gcc/linux/x86 ~ A/S/L )
<def`> A/S/L ?
<adrien_oww> :D
divyanshu has joined #ocaml
<adrien_oww> right
<def`> :D got it
<adrien_oww> not sure what the link is though
<whitequark> they have the same visual structure
lordkryss_ is now known as lordkryss
<ggole> 14/f/L2-cache *giggles*
<def`> adrien_oww: asv en rançais
<adrien_oww> yeah but link, I didn't get :)
<whitequark> adrien_oww: the idea is that the question and the answer have the same delimited structure. a 3-tuple separated by forward slashes
<whitequark> so if you only consider that, gcc/linux/x86 looks like a possible answer.
<adrien_oww> hmm, ok :)
maattdd has joined #ocaml
ontologiae has quit [Ping timeout: 245 seconds]
NoNNaN has quit [Remote host closed the connection]
NoNNaN has joined #ocaml
<whitequark> Drup: I finally got to butcher the rest of your code^W^W^W^W^W^W finish lwt.ppx
sagotch has quit [Ping timeout: 240 seconds]
sagotch has joined #ocaml
<chris2> when i use ocamlbuild foo.p.native, this is something different than for ocamlprof?
<adrien_oww> it's for gprof
<adrien_oww> you run the executable
<adrien_oww> it exits cleanly
<adrien_oww> then you can run 'gprof foo.p.native'
<chris2> yeah, but i find the output hard to map to the program
<whitequark> chris2: try also building a debug executable and using `perf'
<whitequark> if you're on linux
sagotch has quit [Ping timeout: 240 seconds]
<chris2> what i really want is call counts for certain toplevel functions
<whitequark> oh, call counts? then you can use bisect.
<chris2> hmm
<adrien> chris2: you need a large window to display the gprof output correctly
<adrien> chris2: and scroll down to the second large block of text
<adrien> you can also pastebin it
maattdd has quit [Ping timeout: 244 seconds]
<chris2> ah, got it to work
<chris2> ocamlbuild -classic-display -cflags -w,KYZ -ocamlopt 'ocamlfind ocamloptp' -ocamlc 'ocamlfind ocamlcp' foo.native
ikaros has quit [Quit: Ex-Chat]
waern has joined #ocaml
<chris2> soo... my program spends 34% of its time in compare_val
penglingbo has joined #ocaml
<ousado> hm, ok "The size of each argument gets rounded up to eightbytes" http://www.x86-64.org/documentation/abi.pdf
<adrien> chris2: look a bit deeper, you'll find what is calling it
<adrien> if it's being called on int or some simple types, there's a way to make it quite a lot faster
<chris2> i use maps on strings, ints and (int*int) as well as my own ADT
<chris2> ok, just annotate the type there?
Nuki has quit [Ping timeout: 240 seconds]
<adrien_oww> that's mostly the idea
tane has joined #ocaml
Nahra has joined #ocaml
sagotch has joined #ocaml
chris2_ has joined #ocaml
chris2 has quit [Ping timeout: 264 seconds]
shinnya has quit [Ping timeout: 255 seconds]
Nuki has joined #ocaml
ebzzry_ is now known as ebzzry
yomimono has joined #ocaml
maattdd has joined #ocaml
mcclurmc has quit [Remote host closed the connection]
waern has quit [Ping timeout: 245 seconds]
mcclurmc has joined #ocaml
<chris2_> just to get that right, if i write compare : adt -> adt -> int, ocaml will still use compare_val and not specialize a version for this kind of adt?
jludlam is now known as jonludlam
<whitequark> you could check the disassembly
<chris2_> asm doesnt change
chris2_ is now known as chris2
ygrek has joined #ocaml
mcclurmc has quit [Remote host closed the connection]
waern has joined #ocaml
mcclurmc has joined #ocaml
<adrien_oww> chris2: if your "compare" is what is in scope, it will use it
<chris2> compare is pervasives compare
<chris2> but i guess if i write that out as ocaml code, it wont be faster
<chris2> but the run time is ok now
mcclurmc has quit [Ping timeout: 264 seconds]
<adrien_oww> on an adt it might not be faster
<adrien_oww> on ints and the like, yeah
Nuki has quit [Ping timeout: 245 seconds]
Nuki has joined #ocaml
yomimono has quit [Ping timeout: 240 seconds]
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
Nuki has quit [Remote host closed the connection]
divyanshu has quit [Ping timeout: 272 seconds]
divyanshu has joined #ocaml
tane has quit [Quit: Verlassend]
BitPuffin has quit [Ping timeout: 240 seconds]
philtor_ has joined #ocaml
cago has left #ocaml [#ocaml]
Nahra has quit [Ping timeout: 240 seconds]
ontologiae has joined #ocaml
sagotch has quit [Remote host closed the connection]
tlockney_away is now known as tlockney
glurky has joined #ocaml
Nuki has joined #ocaml
philtor_ has quit [Ping timeout: 272 seconds]
Nahra` has joined #ocaml
Nahra` has quit [Remote host closed the connection]
Nahra has joined #ocaml
manizzle has quit [Ping timeout: 244 seconds]
yomimono has joined #ocaml
<chris2> adrien_oww: yeah, specializing int*int manually helped a bit
<whitequark> chris2: out of curiosity, what is it you're making?
<chris2> whitequark: a model checker
<whitequark> OSS?
<chris2> not yet
<chris2> it's my master thesis
<chris2> but once it's ready for publication, sure
Arsenik has joined #ocaml
ontologiae has quit [Ping timeout: 255 seconds]
eikke_ has quit [Ping timeout: 255 seconds]
<Drup> whitequark: good :D
<whitequark> almost finished in fact
<Drup> including the option and optcomp and pa_lwt_log ?
<whitequark> oh, not pa_lwt_log
<whitequark> optcomp?
<Drup> I think optcomp is used somwhere in lwt
<whitequark> um, well, it is, but it's not user-exported
<whitequark> I may in fact rewrite optcomp tomorrow
<whitequark> it's pretty simple
<Drup> I'm not sure we want that, retro compat issues :/
<whitequark> oh?
<whitequark> it could be done in a way compatible with 4.01
<Drup> how ?
<whitequark> if OPTCOMP.(...) instead of if%optcomp
<Drup> but not with earlier than that
<whitequark> yes
<Drup> (and meh.)
<whitequark> it's not my call to make
<Drup> yeah
mcclurmc has joined #ocaml
<whitequark> O_o
<whitequark> wtf is with -dsource
Nuki has quit [Ping timeout: 240 seconds]
<whitequark> &lwt let _ = raise Not_found
Hannibal_Smith has joined #ocaml
maattdd has quit [Read error: No route to host]
racycle has joined #ocaml
Nuki has joined #ocaml
<chris2> ok, specializing List.assoc helped a lot
pminten has joined #ocaml
<companion_cube> do you use big association lists?
yomimono has quit [Ping timeout: 272 seconds]
<chris2> not very big, but many of them
<chris2> i'd use maps, but i need multimaps for some step
<companion_cube> you can define multimaps
<chris2> i can try that, thanks
<chris2> 3h -> 15m -> 5m already is plenty good tho :)
<companion_cube> :)
<chris2> just for replacing List.assoc :D
<chris2> ok, the final assoc has 365 items
<chris2> probably better to use a map then
<companion_cube> it's already pretty big for an assoc list
jwatzman|work has joined #ocaml
<chris2> will try that multimap tomorrow, thanks
axiles has quit [Ping timeout: 240 seconds]
axiles has joined #ocaml
tlockney has left #ocaml [#ocaml]
rgrinberg has joined #ocaml
sgnb has quit [Ping timeout: 252 seconds]
Nuki has quit [Ping timeout: 240 seconds]
waern has quit []
jonludlam has quit [Remote host closed the connection]
Nuki has joined #ocaml
BitPuffin has joined #ocaml
studybot_ has quit [Remote host closed the connection]
q66 has joined #ocaml
tobiasBora has joined #ocaml
_JokerDoom has joined #ocaml
JokerDoom has quit [Ping timeout: 272 seconds]
pminten has quit [Quit: Leaving]
divyanshu has quit [Quit: Computer has gone to sleep.]
BitPuffin has quit [Ping timeout: 244 seconds]
agarwal1975 has quit [Quit: agarwal1975]
divyanshu has joined #ocaml
AltGr has left #ocaml [#ocaml]
thomasga has quit [Quit: Leaving.]
dapz has joined #ocaml
Kakadu has quit [Quit: Page closed]
yomimono has joined #ocaml
tane has joined #ocaml
racycle has quit [Read error: Connection reset by peer]
agarwal1975 has joined #ocaml
racycle has joined #ocaml
BitPuffin has joined #ocaml
thomasga has joined #ocaml
dapz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
samebchase has quit [Ping timeout: 245 seconds]
samebchase has joined #ocaml
tobiasBora has quit [Ping timeout: 240 seconds]
typedlambda has quit [Ping timeout: 252 seconds]
typedlambda has joined #ocaml
agarwal1975 has quit [*.net *.split]
divyanshu has quit [*.net *.split]
mcclurmc has quit [*.net *.split]
alpounet has quit [*.net *.split]
nickmeharry has quit [*.net *.split]
adrien_oww has quit [*.net *.split]
metasyntax has quit [*.net *.split]
n0v has quit [*.net *.split]
IbnFirnas has quit [*.net *.split]
Nuki has quit [*.net *.split]
ddosia has quit [*.net *.split]
Derander has quit [*.net *.split]
brendan has quit [*.net *.split]
rs0 has quit [*.net *.split]
diginux has quit [*.net *.split]
squiggnet has quit [*.net *.split]
weykent has quit [*.net *.split]
xenocons has quit [*.net *.split]
bcuccioli has quit [*.net *.split]
yastero has quit [*.net *.split]
jzelinskie has quit [*.net *.split]
leifw has quit [*.net *.split]
robink has quit [*.net *.split]
lostman has quit [*.net *.split]
engil has quit [*.net *.split]
__marius____ has quit [*.net *.split]
hto has quit [*.net *.split]
clog has quit [*.net *.split]
lopex has quit [*.net *.split]
olasd has quit [*.net *.split]
emmanueloga has quit [*.net *.split]
ccasin has quit [*.net *.split]
BiDOrD has quit [*.net *.split]
acieroid has quit [*.net *.split]
vbmithr has quit [*.net *.split]
companion_cube has quit [*.net *.split]
ggherdov has quit [*.net *.split]
so has quit [*.net *.split]
Ptival has quit [*.net *.split]
alex_nx has quit [*.net *.split]
Asmadeus has quit [*.net *.split]
isomorphismes has quit [*.net *.split]
Armael has quit [*.net *.split]
saarin has quit [*.net *.split]
claudiuc has joined #ocaml
thomasga has quit [Quit: Leaving.]
alpounet has joined #ocaml
Derander has joined #ocaml
Armael has joined #ocaml
jzelinskie has joined #ocaml
adrien_oww has joined #ocaml
brendan has joined #ocaml
xenocons has joined #ocaml
agarwal1975 has joined #ocaml
weykent has joined #ocaml
diginux has joined #ocaml
mcclurmc has joined #ocaml
lostman has joined #ocaml
nickmeharry has joined #ocaml
metasyntax has joined #ocaml
IbnFirnas has joined #ocaml
clog has joined #ocaml
isomorphismes has joined #ocaml
leifw has joined #ocaml
engil has joined #ocaml
divyanshu has joined #ocaml
bcuccioli has joined #ocaml
Nuki has joined #ocaml
__marius____ has joined #ocaml
yastero has joined #ocaml
hto has joined #ocaml
robink has joined #ocaml
n0v has joined #ocaml
rs0 has joined #ocaml
squiggnet has joined #ocaml
saarin has joined #ocaml
ddosia has joined #ocaml
Asmadeus has joined #ocaml
alex_nx has joined #ocaml
vbmithr has joined #ocaml
companion_cube has joined #ocaml
ccasin has joined #ocaml
emmanueloga has joined #ocaml
lopex has joined #ocaml
acieroid has joined #ocaml
BiDOrD has joined #ocaml
so has joined #ocaml
Ptival has joined #ocaml
ggherdov has joined #ocaml
olasd has joined #ocaml
yomimono has quit [Ping timeout: 255 seconds]
parcs has joined #ocaml
dsheets has quit [Ping timeout: 255 seconds]
adrien_o1w has joined #ocaml
nickmeha1ry has joined #ocaml
agarwal1975 has quit [*.net *.split]
divyanshu has quit [*.net *.split]
mcclurmc has quit [*.net *.split]
alpounet has quit [*.net *.split]
nickmeharry has quit [*.net *.split]
adrien_oww has quit [*.net *.split]
metasyntax has quit [*.net *.split]
IbnFirnas has quit [*.net *.split]
n0v has quit [*.net *.split]
Nuki has quit [*.net *.split]
ddosia has quit [*.net *.split]
Derander has quit [*.net *.split]
rs0 has quit [*.net *.split]
brendan has quit [*.net *.split]
diginux has quit [*.net *.split]
squiggnet has quit [*.net *.split]
weykent has quit [*.net *.split]
xenocons has quit [*.net *.split]
bcuccioli has quit [*.net *.split]
yastero has quit [*.net *.split]
jzelinskie has quit [*.net *.split]
leifw has quit [*.net *.split]
robink has quit [*.net *.split]
lostman has quit [*.net *.split]
__marius____ has quit [*.net *.split]
engil has quit [*.net *.split]
hto has quit [*.net *.split]
clog has quit [*.net *.split]
lopex has quit [*.net *.split]
emmanueloga has quit [*.net *.split]
olasd has quit [*.net *.split]
BiDOrD has quit [*.net *.split]
ccasin has quit [*.net *.split]
vbmithr has quit [*.net *.split]
acieroid has quit [*.net *.split]
companion_cube has quit [*.net *.split]
so has quit [*.net *.split]
ggherdov has quit [*.net *.split]
Ptival has quit [*.net *.split]
alex_nx has quit [*.net *.split]
isomorphismes has quit [*.net *.split]
Asmadeus has quit [*.net *.split]
Armael has quit [*.net *.split]
saarin has quit [*.net *.split]
agarwal1975 has joined #ocaml
divyanshu has joined #ocaml
Nuki has joined #ocaml
mcclurmc has joined #ocaml
n0v has joined #ocaml
metasyntax has joined #ocaml
diginux has joined #ocaml
alpounet has joined #ocaml
ddosia has joined #ocaml
lostman has joined #ocaml
leifw has joined #ocaml
brendan has joined #ocaml
IbnFirnas has joined #ocaml
jzelinskie has joined #ocaml
isomorphismes has joined #ocaml
Derander has joined #ocaml
weykent has joined #ocaml
robink has joined #ocaml
adrien_oww has joined #ocaml
squiggnet has joined #ocaml
nickmeharry has joined #ocaml
engil has joined #ocaml
bcuccioli has joined #ocaml
xenocons has joined #ocaml
rs0 has joined #ocaml
clog has joined #ocaml
__marius____ has joined #ocaml
Asmadeus has joined #ocaml
saarin has joined #ocaml
yastero has joined #ocaml
ggherdov has joined #ocaml
Armael has joined #ocaml
alex_nx has joined #ocaml
hto has joined #ocaml
so has joined #ocaml
Ptival has joined #ocaml
acieroid has joined #ocaml
BiDOrD has joined #ocaml
vbmithr has joined #ocaml
companion_cube has joined #ocaml
ccasin has joined #ocaml
olasd has joined #ocaml
lopex has joined #ocaml
emmanueloga has joined #ocaml
philtor_ has joined #ocaml
nickmeharry has quit [Write error: Broken pipe]
tane has quit [Quit: Verlassend]
metasyntax has quit [Excess Flood]
agarwal1975 has quit [Write error: Connection reset by peer]
metasyntax has joined #ocaml
adrien_oww has quit [Remote host closed the connection]
penglingbo has quit [Ping timeout: 272 seconds]
eikke_ has joined #ocaml
Kakadu has joined #ocaml
glurky has quit [Quit: :q!]
rgrinberg has quit [Quit: Leaving.]
yomimono has joined #ocaml
dsheets has joined #ocaml
ebzzry_ has joined #ocaml
pyon has quit [Remote host closed the connection]
pyon has joined #ocaml
ebzzry has quit [Ping timeout: 245 seconds]
lordkryss has quit [Ping timeout: 240 seconds]
yomimono has quit [Read error: Connection reset by peer]
manizzle has joined #ocaml
yomimono has joined #ocaml
MasseR has quit [Ping timeout: 276 seconds]
claudiuc_ has joined #ocaml
claudiuc has quit [Ping timeout: 245 seconds]
MasseR has joined #ocaml
rgrinberg has joined #ocaml
tobiasBora has joined #ocaml
rgrinberg has quit [Client Quit]
rgrinberg has joined #ocaml
Eyyub has joined #ocaml
ygrek has quit [Ping timeout: 264 seconds]
philtor_ has quit [Ping timeout: 255 seconds]
claudiuc has joined #ocaml
claudiuc_ has quit [Read error: Connection reset by peer]
elfring has quit [Ping timeout: 252 seconds]
Thooms has joined #ocaml
mcclurmc has quit [Ping timeout: 244 seconds]
mcclurmc has joined #ocaml
<whitequark> lol what the fuck, pa_lwt_log
<whitequark> let fmt = len >= 2 && func.[len - 2] = '_' && func.[len - 1] = 'f'
<whitequark> and ign = len >= 4 && func.[0] = 'i' && func.[1] = 'g' && func.[2] = 'n' && func.[3] = '_' in
* whitequark claws his eyes out
Hannibal_Smith has quit [Quit: Sto andando via]
mehdid has left #ocaml [#ocaml]
<Drup> :D
Thooms has quit [Read error: No route to host]
Thooms has joined #ocaml
olauzon has joined #ocaml
kmicinski has joined #ocaml
<kmicinski> I recently upgraded xcode and my mac stuff, and I get errors from opam switch
<kmicinski> # clang: error: unknown argument: '-fno-defer-pop' [-Wunused-command-line-argument-hard-error-in-future]
<dsheets> kmicinski, opam update and use a patched switch
<dsheets> which switch are you on now?
<kmicinski> so I opam update'd, what about a patched switch?
<kmicinski> I was on 4.00.1, switching to 4.01.0
<dsheets> cool, just do that and it should work
<kmicinski> alright
<kmicinski> if I can trouble you, when I opam switch, I see a list, system is 4.00.1, while switch is 4.01.0, can I make them equal?
<kmicinski> (i.e., can I set system to be 4.01.0)
lostman has quit [Quit: Connection closed for inactivity]
<dsheets> kmicinski, system just means whatever was previously installed. what effect are you after? having the same packages?
<dsheets> you could upgrade your system compiler outside of opam in whatever way you originally got it but it would not have the clang patch automatically applied
<dsheets> you could apply it yourself, also
<kmicinski> ah, sorry, I answered my own question, opem switch reinstall system worked
<dsheets> kmicinski, really? the error went away?
seanmcl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
claudiuc_ has joined #ocaml
seanmcl has joined #ocaml
kmicinski has quit [Quit: Lost terminal]
claudiuc has quit [Ping timeout: 240 seconds]
WraithM has quit [Quit: Lost terminal]
WraithM has joined #ocaml
ontologiae has joined #ocaml
tobiasBora has quit [Ping timeout: 240 seconds]
mcclurmc has quit [Ping timeout: 240 seconds]
rand000 has quit [Ping timeout: 264 seconds]
seanmcl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tobiasBora has joined #ocaml
mcclurmc has joined #ocaml
Arsenik has quit [Remote host closed the connection]
tobiasBora has quit [Ping timeout: 272 seconds]
Thooms has quit [Ping timeout: 240 seconds]
* adrien hits Damien Doligez with a stick
<adrien> no deleting of my *~ files!
rgrinberg has quit [Quit: Leaving.]
rgrinberg has joined #ocaml
rgrinberg has quit [Client Quit]
rgrinberg has joined #ocaml
rgrinberg has quit [Client Quit]
hhugo has quit [Quit: Leaving.]
olauzon has quit [Quit: olauzon]
axiles has quit [Remote host closed the connection]
divyanshu has quit [Quit: Computer has gone to sleep.]
rgrinberg has joined #ocaml
Kakadu has quit [Quit: Konversation terminated!]
ontologiae has quit [Ping timeout: 244 seconds]
eikke_ has quit [Ping timeout: 264 seconds]
aggelos_ has joined #ocaml
oriba has joined #ocaml
hhugo has joined #ocaml
eikke_ has joined #ocaml
Thooms has joined #ocaml
ggole has quit []
divyanshu has joined #ocaml
hhugo has quit [Quit: Leaving.]
yomimono has quit [Ping timeout: 264 seconds]
rand000 has joined #ocaml
avsm has joined #ocaml
Eyyub has quit [Ping timeout: 244 seconds]
dapz has joined #ocaml
ontologiae has joined #ocaml
slash^ has quit [Read error: Connection reset by peer]
ollehar has joined #ocaml
<jpdeplaix> gasche: having a .merlin file for ocaml is quite easy, but merlin seems not to like the fact that the cmi format has changed so it's impossible to use :/
<whitequark> there's updated merlin
<whitequark> 4.02 branch
Eyyub has joined #ocaml
hhugo has joined #ocaml
Simn has quit [Quit: Leaving]
<Drup> waa, parsing/pprintast.ml is such a mess X_x
<Drup> it's a huge maze of indirection, redefinition and "| _ -> assert false"
<Drup> well, not that huge, 1300 line only.
Eyyub has quit [Ping timeout: 264 seconds]
divyanshu has quit [Quit: Computer has gone to sleep.]
philtor_ has joined #ocaml
BitPuffin has quit [Ping timeout: 255 seconds]
araujo has quit [Ping timeout: 240 seconds]
Eyyub has joined #ocaml
araujo has joined #ocaml
Thooms has quit [Quit: WeeChat 0.3.8]
Eyyub has quit [Ping timeout: 264 seconds]
dapz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
shinnya has joined #ocaml
mcclurmc has quit [Ping timeout: 244 seconds]
mcclurmc has joined #ocaml
dapz has joined #ocaml
ollehar has quit [Ping timeout: 264 seconds]
Eyyub has joined #ocaml
<whitequark> Drup: updated PR
<whitequark> should be finished now.
<Drup> nic
<Drup> nice*
<whitequark> there's switches too; -no-debug and -no-log
<Drup> marvelous :3
<whitequark> I made [%lwt e] equivalent to try_lwt e
<whitequark> this takes care of [%lwt raise] as well
<Drup> huum, ok
<whitequark> also I'm thinking of bringing back >>, because, while it was equivalent to >>= fun _ -> in pa_lwt, it could be made to add backtrace info
<whitequark> which would be great
<Drup> isn't >>= already enough for backtrace info ?
<whitequark> nope
<whitequark> you need Lwt.backtrace_bind
<whitequark> and a raise that is lexically right next to it
alpounet has quit [Remote host closed the connection]
alpounet has joined #ocaml
<Drup> you could define >>= as backtrace_bind if no -no-debug
<whitequark> writing >>= fun () -> is really damn annoying
<Drup> sure, I was just arguing on the ">> could be convenient for backtraces"
<whitequark> also, properly redefining >>= would require me to look at the environment
<whitequark> I can imagine someone using another monad library inside e.g. a local open
<whitequark> though it somewhat applies to >> too
<Drup> oh sure, yes
<Drup> pwah
<Drup> forget about that
Nahra has quit [Remote host closed the connection]
<Drup> (I'm looking for the piece of code doing the pretty printing in the REPL and can't find it >_<)
<whitequark> in the REPL?
<Drup> ocaml
alpounet has quit [Ping timeout: 240 seconds]
Nuki has quit [Ping timeout: 240 seconds]
dapz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jao has joined #ocaml
jao has quit [Changing host]
jao has joined #ocaml
araujo has quit [Ping timeout: 255 seconds]
dapz has joined #ocaml
<whitequark> Warning 8: this pattern-matching is not exhaustive.
<whitequark> Here is an example of a value that is not matched:
<whitequark> *extension*
<whitequark> lol what ?
asmanur has quit [Remote host closed the connection]
<whitequark> oh. open types
darkf has joined #ocaml
dsheets has quit [Ping timeout: 255 seconds]
madroach has quit [Ping timeout: 252 seconds]
madroach has joined #ocaml
dapz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
NoNNaN has quit [Remote host closed the connection]
NoNNaN has joined #ocaml
avsm has quit [Quit: Leaving.]
philtor_ has quit [Ping timeout: 264 seconds]
jwatzman|work has quit [Quit: jwatzman|work]
rgrinberg has quit [Quit: Leaving.]
rgrinberg has joined #ocaml
<whitequark> Drup: pls review
<Drup> will do ;)
<whitequark> does ocsigen-buildbot just react to a comment with "merge" in it?
jwatzman|work has joined #ocaml
jwatzman|work has quit [Changing host]
jwatzman|work has joined #ocaml
<Drup> I'm surprised it's enabled on lwt
<Drup> hnrgrgr ?
<whitequark> what?
<whitequark> oh, it's a nickname, not an odd interjection
<Drup> the build-bot
<Drup> ahah, yes :D
<whitequark> it's kind of creepy (the bot)