adrien changed the topic of #ocaml to: Discussions about the OCaml programming language | http://www.ocaml.org | Current MOOC: https://huit.re/ocamlmooc | OCaml 4.04.0 release notes: http://ocaml.org/releases/4.04.html | Try OCaml in your browser: http://try.ocamlpro.com | Public channel logs at http://irclog.whitequark.org/ocaml
cross_ has joined #ocaml
infinity0 has quit [Ping timeout: 240 seconds]
madroach_ has joined #ocaml
seangrove has quit [Ping timeout: 240 seconds]
madroach has quit [Remote host closed the connection]
cross has quit [Remote host closed the connection]
johnelse has quit [Read error: No route to host]
johnelse has joined #ocaml
infinity0 has joined #ocaml
johnelse has quit [Read error: Connection reset by peer]
infinity0 has quit [Remote host closed the connection]
infinity0 has joined #ocaml
johnelse has joined #ocaml
Soni has quit [Quit: Leaving]
ziyourenxiang has quit [Ping timeout: 246 seconds]
Soni has joined #ocaml
johnelse has quit [Read error: No route to host]
johnelse has joined #ocaml
johnelse has quit [Read error: No route to host]
sgronblo has quit [Ping timeout: 240 seconds]
johnelse has joined #ocaml
_whitelogger has joined #ocaml
silver has quit [Read error: Connection reset by peer]
spew has joined #ocaml
johnelse has quit [Read error: No route to host]
mfp has quit [Ping timeout: 272 seconds]
johnelse has joined #ocaml
johnelse has quit [Read error: No route to host]
johnelse has joined #ocaml
johnelse has quit [Read error: No route to host]
johnelse has joined #ocaml
johnelse has quit [Read error: Connection reset by peer]
shinnya has quit [Ping timeout: 268 seconds]
johnelse has joined #ocaml
kamog has quit [Ping timeout: 255 seconds]
sgronblo has joined #ocaml
segmond has quit [Quit: l8r]
rpg has joined #ocaml
mengu has quit [Remote host closed the connection]
ocamlnoob has joined #ocaml
<ocamlnoob> Hey guys! How do I iterate over a list and do actions like this:
<ocamlnoob> for x = 0 to n in r do begin let p = fst x and c = snd x; (..etc.)
lopex has quit [Quit: Connection closed for inactivity]
<lyxia> ocamlnoob: List.iter (fun (p, c) -> (..etc.)) r
rpg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jacobian has quit [Ping timeout: 240 seconds]
ocamlnoob has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
sgronblo has quit [Read error: Connection reset by peer]
sgronblo has joined #ocaml
spew has quit [Quit: foobar]
_whitelogger has joined #ocaml
sgronblo has quit [Read error: Connection reset by peer]
_whitelogger has joined #ocaml
sz0 has quit [Quit: Connection closed for inactivity]
jack5638 has quit [Ping timeout: 260 seconds]
jlam__ has joined #ocaml
jlam_ has quit [Ping timeout: 240 seconds]
jlam_ has joined #ocaml
jack5638 has joined #ocaml
jlam__ has quit [Ping timeout: 255 seconds]
enterprisey has joined #ocaml
<enterprisey> How can I remove the autocomplete bar in utop?
olibjerd has joined #ocaml
sgronblo has joined #ocaml
cbot has joined #ocaml
shortCircuit__ has joined #ocaml
govg has joined #ocaml
MercurialAlchemi has joined #ocaml
picolino has quit [Ping timeout: 240 seconds]
jlam__ has joined #ocaml
jlam_ has quit [Ping timeout: 268 seconds]
picolino has joined #ocaml
picolino has quit [Ping timeout: 246 seconds]
picolino has joined #ocaml
enterprisey has quit [Ping timeout: 272 seconds]
johnelse_ has joined #ocaml
madroach has joined #ocaml
cbot has quit [*.net *.split]
johnelse has quit [*.net *.split]
madroach_ has quit [*.net *.split]
tcc[m] has quit [*.net *.split]
regnat[m] has quit [*.net *.split]
M-martinklepsch has quit [*.net *.split]
M-Illandan has quit [*.net *.split]
M-jimt has quit [*.net *.split]
hpd_m has quit [*.net *.split]
andreypopp has quit [*.net *.split]
jmct has quit [*.net *.split]
hdnc2_ has quit [*.net *.split]
chenglou has quit [*.net *.split]
stephe has quit [*.net *.split]
yminsky has quit [*.net *.split]
metadave has quit [*.net *.split]
chenglou has joined #ocaml
andreypopp has joined #ocaml
stephe has joined #ocaml
yminsky has joined #ocaml
jmct has joined #ocaml
hdnc2_ has joined #ocaml
cbot has joined #ocaml
regnat[m] has joined #ocaml
agravier has quit [Quit: agravier]
tcc[m] has joined #ocaml
M-martinklepsch has joined #ocaml
M-Illandan has joined #ocaml
agravier has joined #ocaml
hpd_m has joined #ocaml
M-jimt has joined #ocaml
tane has joined #ocaml
govg has quit [Ping timeout: 255 seconds]
agravier has quit [Quit: agravier]
alfredo has joined #ocaml
shortCircuit__ has quit [Ping timeout: 240 seconds]
shortCircuit__ has joined #ocaml
govg has joined #ocaml
zpe has joined #ocaml
<orbifx[m]> not sat on my desk for over a week now
<orbifx[m]> Is that B behind you?
jnavila has joined #ocaml
mfp has joined #ocaml
lopex has joined #ocaml
alfredo has quit [Ping timeout: 240 seconds]
agravier has joined #ocaml
jnavila has quit [Ping timeout: 255 seconds]
jnavila has joined #ocaml
jnavila has quit [Ping timeout: 240 seconds]
jnavila has joined #ocaml
cbot has quit [Quit: Leaving]
argent_smith has joined #ocaml
govg has quit [Ping timeout: 240 seconds]
sgronblo has quit [Ping timeout: 258 seconds]
jacobian has joined #ocaml
jnavila has quit [Ping timeout: 240 seconds]
jnavila has joined #ocaml
ziyourenxiang has joined #ocaml
KeyJoo has joined #ocaml
agravier has quit [Quit: agravier]
<jacobian> Is there an operator like $ that causes grouping in base so I don't have to use as many parenthesis
mengu has joined #ocaml
<octachron> jacobian, (@@) is available in the (compiler-included) stdlib
<jacobian> cheers
jacobian has quit [Ping timeout: 246 seconds]
mengu has quit [Remote host closed the connection]
kakadu has joined #ocaml
jao has joined #ocaml
mengu has joined #ocaml
_whitelogger has joined #ocaml
zpe has quit [Remote host closed the connection]
Algebr has joined #ocaml
zpe has joined #ocaml
silver has joined #ocaml
zpe_ has joined #ocaml
mengu has quit [Remote host closed the connection]
mengu has joined #ocaml
zpe has quit [Ping timeout: 240 seconds]
_whitelogger has joined #ocaml
tane has quit [Quit: Leaving]
MercurialAlchemi has quit [Ping timeout: 255 seconds]
rpg has joined #ocaml
jacobian has joined #ocaml
dtornabene has joined #ocaml
_andre has joined #ocaml
zpe_ has quit [Remote host closed the connection]
zpe has joined #ocaml
jlam_ has joined #ocaml
jlam__ has quit [Ping timeout: 246 seconds]
zpe has quit [Ping timeout: 246 seconds]
shortCircuit__ has quit [Ping timeout: 240 seconds]
KeyJoo has quit [Ping timeout: 260 seconds]
antismap has joined #ocaml
rpg has quit [Ping timeout: 260 seconds]
mengu has quit [Remote host closed the connection]
mengu has joined #ocaml
mengu has quit [Ping timeout: 246 seconds]
Bluddy[m] has left #ocaml ["Kicked by @appservice-irc:matrix.org"]
slash^ has joined #ocaml
rpg has joined #ocaml
M-Illandan has left #ocaml ["Kicked by @appservice-irc:matrix.org"]
ktosiek[m] has left #ocaml ["Kicked by @appservice-irc:matrix.org"]
MercurialAlchemi has joined #ocaml
jacobian has quit [Ping timeout: 246 seconds]
jao has quit [Disconnected by services]
jao has joined #ocaml
jao has quit [Disconnected by services]
metadave_ has quit []
jao has joined #ocaml
metadave has joined #ocaml
agravier has joined #ocaml
sgronblo has joined #ocaml
sgronblo_ has joined #ocaml
sgronblo has quit [Ping timeout: 240 seconds]
shinnya has joined #ocaml
Simn has joined #ocaml
copy` has joined #ocaml
dtornabene has quit [Remote host closed the connection]
dtornabene has joined #ocaml
jao has quit [Ping timeout: 240 seconds]
jacobian has joined #ocaml
Bluddy[m] has joined #ocaml
gasche has joined #ocaml
<gasche> hi there
<gasche> process question
mengu has joined #ocaml
<gasche> as you may have heard, we'll be organizing a hackaton tomorrow night US-east-cost time ( https://discuss.ocaml.org/t/ocaml-hacking-session-at-mit-cambridge-us-on-june-6th/334/ )
<gasche> Mindy suggested that we use an IRC channel for coordination (and let people not physically present participate)
<gasche> my first idea was to use a new, temporary #ocaml-hackaton channel
<gasche> but we might also just use #ocaml
<gasche> what do you think?
<gasche> (I won't personally have any time to spend on IRC during the event, but the idea is that people could use it to crowd-source any kind of question; the Q/A fortitude of the regulars here would of course be much appreciated, but I wouldn't want to flood either)
<mengu> that'd be the most active time in years
<mengu> as an idler, +1
<mengu> i might learn a thing or two
<gasche> +1 on using stock #ocaml rather than #ocaml-hackaton?
<mengu> +1 on #ocaml
<Drup> I think it would be fine to do it here too
ryanartecona has joined #ocaml
<octachron> I also think it should be fine to use #ocaml (well, except if there are hundreds of participants to the hackaton :p )
sgronblo_ has quit [Ping timeout: 260 seconds]
sgronblo has joined #ocaml
<zozozo> I agree
ousado has quit [Remote host closed the connection]
ousado has joined #ocaml
<nore> As a long-time idler here, +1 on #ocaml as well :)
Algebr has quit [Ping timeout: 255 seconds]
dtornabene has quit [Read error: Connection reset by peer]
dtornabene has joined #ocaml
dtornabene has quit [Remote host closed the connection]
dtornabene has joined #ocaml
<gasche> there seems to be clear consensus, so #ocaml it will be; thanks!
ryanartecona has quit [Quit: ryanartecona]
shinnya has quit [Ping timeout: 260 seconds]
Algebr has joined #ocaml
jlam__ has joined #ocaml
jlam_ has quit [Ping timeout: 240 seconds]
jao has joined #ocaml
ryanartecona has joined #ocaml
ygrek__ has joined #ocaml
toolslive has quit [Ping timeout: 255 seconds]
agravier has quit [Quit: agravier]
toolslive has joined #ocaml
<flux> hmm, lambda-term apparently tries to highlight something, but doesn't really. is there a way to affect this behavior?
<Drup> you mean this: https://github.com/diml/utop#colors ?
<flux> drup, so is that something utop does or what's inherent to lambda-term?
<flux> I'm planning to write a lambda-term-based application, and I would rather have some flashiness in it ;)
<Drup> I mean, it depends what you mean by "highlight"
sgronblo has quit [Ping timeout: 260 seconds]
<Drup> if you are talking about code, it's a utop thing
<flux> well, there are these examples of dialogs with lambda-term
<flux> I bet it's trying to somehow indicate what button I have selected :-)
<flux> but at present the usage of the tui is a bit guess-work.. press enter to see what you selected :)
<Drup> ah, buttons
<Drup> I'm actually not sure, I've never used buttons in lambda-term
<flux> apparently there's something like resource classes. I wouldn't mind if 'make doc' actally worked :)
agravier has joined #ocaml
<flux> I wonder if there is a terminal where it actually works. doesn't work on my gnome-terminal, xterm or rxvt.. infact with rxvt the output is completely garbled :/.
<Drup> have you looked at the examples ? There is one with modals, iirc
<flux> yes, I'm testing with those
zv has quit [Quit: WeeChat 1.6]
<flux> ah, lambda-termrc tells colors, I guess the background colors don't work that great on my terminals
jacobian has quit [Ping timeout: 240 seconds]
Algebr has quit [Ping timeout: 240 seconds]
Algebr has joined #ocaml
rossberg_ has joined #ocaml
rossberg has quit [Ping timeout: 240 seconds]
jlam_ has joined #ocaml
SpaceSheep has quit [Read error: Connection reset by peer]
jlam__ has quit [Ping timeout: 246 seconds]
gasche has left #ocaml ["ERC (IRC client for Emacs 24.5.1)"]
Habbor has joined #ocaml
Habbor has quit [Remote host closed the connection]
jnavila has quit [Ping timeout: 240 seconds]
ziyourenxiang has quit [Ping timeout: 240 seconds]
ygrek__ has quit [Ping timeout: 240 seconds]
Sebalos has joined #ocaml
Sebalos has quit [Remote host closed the connection]
antismap` has joined #ocaml
antismap has quit [Ping timeout: 268 seconds]
antismap` has quit [Remote host closed the connection]
antismap has joined #ocaml
maattdd has joined #ocaml
jnavila has joined #ocaml
kakadu has quit [Quit: Konversation terminated!]
agravier has quit [Quit: agravier]
agravier has joined #ocaml
cbot has joined #ocaml
Algebr has quit [Ping timeout: 255 seconds]
kmerz has joined #ocaml
ontologiae has joined #ocaml
KeyJoo has joined #ocaml
<kmerz> Hi
<mengu> hi kmerz
shinnya has joined #ocaml
kakadu has joined #ocaml
Simn has quit [Ping timeout: 246 seconds]
kolko has quit [Ping timeout: 240 seconds]
Simn has joined #ocaml
kolko has joined #ocaml
cbot_ has joined #ocaml
MercurialAlchemi has quit [Ping timeout: 240 seconds]
cbot has quit [Ping timeout: 240 seconds]
TheLemonMan has joined #ocaml
ontologiae has quit [Ping timeout: 245 seconds]
ontologiae_ has joined #ocaml
kmerz has quit [Remote host closed the connection]
_andre has quit [Quit: leaving]
pierpa has joined #ocaml
slash^ has quit [Read error: Connection reset by peer]
jnavila has quit [Remote host closed the connection]
TheLemonMan has quit [Quit: "It's now safe to turn off your computer."]
antismap has quit [Remote host closed the connection]
antismap has joined #ocaml
jack5638 has quit [Ping timeout: 255 seconds]
nahra has quit [Ping timeout: 240 seconds]
ryanartecona has quit [Quit: ryanartecona]
jack5638 has joined #ocaml
KeyJoo has quit [Ping timeout: 240 seconds]
Simn has quit [Read error: Connection reset by peer]
jao has quit [Remote host closed the connection]
cbot_ has quit [Ping timeout: 240 seconds]
jao has joined #ocaml
jacobian has joined #ocaml
olibjerd has quit [Ping timeout: 260 seconds]
FreeBirdLjj has joined #ocaml
jacobian has quit [Ping timeout: 255 seconds]
jacobian has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 268 seconds]
enterprisey has joined #ocaml
jacobian has quit [Ping timeout: 255 seconds]
ontologiae_ has quit [Ping timeout: 255 seconds]
daniel__ has joined #ocaml
madroach has quit [Ping timeout: 260 seconds]
madroach has joined #ocaml
dtornabene has quit [Ping timeout: 260 seconds]
raphaelss has quit [Ping timeout: 240 seconds]
sz0 has joined #ocaml
argent_smith1 has joined #ocaml
maattdd has quit [Ping timeout: 260 seconds]
<orbifx[m]> rgrinberg: is `(meth GET)` in Opium intentional?
<rgrinberg> what do you mean?
<orbifx[m]> "get meth" :P
daniel__ has quit [Ping timeout: 260 seconds]
<rgrinberg> oh haha, i wish it was
argent_smith1 has quit [Client Quit]
<rgrinberg> method is a keyword, which is why cohttp calls is meth
<orbifx[m]> ok
<orbifx[m]> does cohttp use classes?
<rgrinberg> nope, but it's still a keyword
<orbifx[m]> from HTTP I presume?
<Drup> from OCaml :p
<rgrinberg> exactly
argent_smith has quit [Ping timeout: 268 seconds]
<orbifx[m]> ow ok
<orbifx[m]> Is Lwt.React a merge of Bünzli's React?
<rgrinberg> no it's just a set of helpers when using react and lwt
<rgrinberg> Drup: are the various compiler-libs findlib libraries documented somewhere?
<rgrinberg> I don't mean the modules themselves
<rgrinberg> just the differnce between compiler-libs.common and compiler-libs for example
<Drup> I don't think so
<Drup> but common is everything in utils/ parsing/ typing/
<Drup> bytecomp is common + bytecomp/
<Drup> optcomp is common + asmcom/ + middle_end/
<octachron> Common also includes the modules in driver, isn'it ? It may be nice to open a mantis ticket on the subject
bungoman has quit [Quit: Leaving]
<rgrinberg> ok i see. i can't find the meta files for these libs which is strange
<Drup> octachron: not all of it, no
<rgrinberg> also, what's the difference between ocaml-compiler-libs and compiler-libs?
<Drup> the content of driver/ is full choke of side effects in all directions, it's unusable as a library
<Drup> only clflag can be accessed
<Drup> iirc
<Drup> oh, Pparse too, but that should be in parsing/ really
<octachron> Drup, at least pparse is usable and useful
<Drup> rgrinberg: the latter comes from the opam package "ocaml-compiler-libes". it's the same but packed
mfp_ has joined #ocaml
<octachron> also Compenv by greping codept source
<Drup> octachron: yeah, but driver/ is particularly badly organized
<rgrinberg> Drup: ok I see, thanks. How come compiler-libs itself isn't packed?
<Drup> rgrinberg: ~legacy~
<rgrinberg> ah ok
mfp has quit [Ping timeout: 260 seconds]
andreas_ has quit [Quit: Connection closed for inactivity]
plertrood has joined #ocaml
kakadu has quit [Remote host closed the connection]
<plertrood> Hi, is it possible for type constructors to be curried?
<plertrood> So `type blah = Blah string string` seems to give an error.
<plertrood> `type blah = Blah string * string` does compile, but can't be curried..
<plertrood> unless I wrap it in a fun.. -> `(fun x -> Blah "ponk" x)`
average has quit [Quit: leaving]
enterprisey has quit [Remote host closed the connection]
<Drup> Unfortunately, it's not possible.
<plertrood> Ok, thanks.
<plertrood> I can work arount it by wrapping it.
sgronblo has joined #ocaml
<hashpuppy> is there a difference `let rec mySum list = match list with | [] -> 0 | x::xs -> x + (mySum xs)` and `let rec mySum = function | [] -> 0 | x::xs -> x + (mySum xs)`?
<hashpuppy> they both seem to do exhaustive pattern matching (for when i leave out the [] -> 0 case
<octachron> hashpuppy, there is no difference
plertrood has quit [Ping timeout: 255 seconds]
sgronblo has quit [Read error: Connection reset by peer]
copy` has quit [Quit: Connection closed for inactivity]