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
johnelse has quit [Ping timeout: 240 seconds]
infinity0 has joined #ocaml
infinity0 has quit [Remote host closed the connection]
johnelse has joined #ocaml
infinity0 has joined #ocaml
infinity0 has quit [Remote host closed the connection]
infinity0 has joined #ocaml
infinity0 has quit [Remote host closed the connection]
infinity0 has joined #ocaml
infinity0 has quit [Remote host closed the connection]
johnelse has quit [Ping timeout: 240 seconds]
johnelse has joined #ocaml
infinity0 has joined #ocaml
infinity0 has quit [Remote host closed the connection]
johnelse has quit [Read error: Connection reset by peer]
infinity0 has joined #ocaml
johnelse has joined #ocaml
johnelse has quit [Read error: Connection reset by peer]
johnelse has joined #ocaml
johnelse has quit [Read error: Connection reset by peer]
jao has quit [Ping timeout: 240 seconds]
johnelse has joined #ocaml
johnelse has quit [Read error: Connection reset by peer]
johnelse has joined #ocaml
johnelse has quit [Ping timeout: 240 seconds]
johnelse has joined #ocaml
johnelse has quit [Read error: No route to host]
cbot has joined #ocaml
johnelse has joined #ocaml
TheAuGingembre has joined #ocaml
johnelse has quit [Read error: Connection reset by peer]
Simn has quit [Quit: Leaving]
johnelse has joined #ocaml
johnelse has quit [Read error: Connection reset by peer]
kellykel has joined #ocaml
johnelse has joined #ocaml
kellykel has quit [Client Quit]
johnelse has quit [Read error: Connection reset by peer]
Guest29149 is now known as `micro
johnelse has joined #ocaml
johnelse has quit [Read error: Connection reset by peer]
johnelse has joined #ocaml
mfp has quit [Ping timeout: 240 seconds]
johnelse has quit [Ping timeout: 258 seconds]
johnelse has joined #ocaml
johnelse has quit [Read error: Connection reset by peer]
shinnya has quit [Ping timeout: 240 seconds]
johnelse has joined #ocaml
silver has quit [Read error: Connection reset by peer]
_whitelogger has joined #ocaml
johnelse has quit [Ping timeout: 268 seconds]
johnelse has joined #ocaml
AlexRussia__ has joined #ocaml
AlexRussia has quit [Ping timeout: 272 seconds]
cbot has quit [Quit: Leaving]
johnelse has quit [Ping timeout: 260 seconds]
johnelse has joined #ocaml
johnelse has quit [Read error: Connection reset by peer]
johnelse has joined #ocaml
johnelse has quit [Read error: Connection reset by peer]
johnelse has joined #ocaml
johnelse has quit [Read error: Connection reset by peer]
copy` has quit [Quit: Connection closed for inactivity]
sz0 has joined #ocaml
johnelse has joined #ocaml
johnelse has quit [Ping timeout: 260 seconds]
johnelse has joined #ocaml
gliboc has quit [Ping timeout: 260 seconds]
AlexRussia__ has quit [Ping timeout: 268 seconds]
johnelse has quit [Read error: Connection reset by peer]
AlexRussia__ has joined #ocaml
johnelse has joined #ocaml
johnelse has quit [Read error: No route to host]
johnelse has joined #ocaml
nullifidian_ is now known as nullifidian
pierpa has quit [Quit: Page closed]
johnelse has quit [Ping timeout: 260 seconds]
johnelse has joined #ocaml
johnelse has quit [Read error: Connection reset by peer]
johnelse has joined #ocaml
johnelse has quit [Ping timeout: 240 seconds]
johnelse has joined #ocaml
johnelse has quit [Ping timeout: 260 seconds]
johnelse has joined #ocaml
johnelse has quit [Read error: Connection reset by peer]
shinnya has joined #ocaml
johnelse has joined #ocaml
johnelse has quit [Ping timeout: 240 seconds]
johnelse has joined #ocaml
FreeBirdLjj has joined #ocaml
nullcone[m] has joined #ocaml
johnelse has quit [Ping timeout: 272 seconds]
johnelse has joined #ocaml
nullcone[m] has left #ocaml ["User left"]
govg has quit [Ping timeout: 255 seconds]
johnelse has quit [Ping timeout: 268 seconds]
govg has joined #ocaml
johnelse has joined #ocaml
johnelse has quit [Read error: Connection reset by peer]
johnelse has joined #ocaml
johnelse has quit [Ping timeout: 255 seconds]
spew has joined #ocaml
spew has quit [Ping timeout: 272 seconds]
johnelse has joined #ocaml
johnelse has quit [Read error: Connection reset by peer]
johnelse has joined #ocaml
MercurialAlchemi has joined #ocaml
johnelse has quit [Ping timeout: 260 seconds]
johnelse has joined #ocaml
johnelse has quit [Read error: Connection reset by peer]
AlexRussia has joined #ocaml
johnelse has joined #ocaml
johnelse has quit [Read error: Connection reset by peer]
AlexRussia__ has quit [Ping timeout: 240 seconds]
spew has joined #ocaml
spew has quit [Client Quit]
spew has joined #ocaml
spew has quit [Client Quit]
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]
johnelse has joined #ocaml
betux has joined #ocaml
johnelse has quit [Read error: Connection reset by peer]
johnelse has joined #ocaml
Onemorenickname has joined #ocaml
johnelse has quit [Read error: No route to host]
Onemorenickname has left #ocaml [#ocaml]
johnelse has joined #ocaml
betux has quit [Remote host closed the connection]
betux has joined #ocaml
johnelse has quit [Ping timeout: 268 seconds]
johnelse has joined #ocaml
betux has quit [Remote host closed the connection]
betux has joined #ocaml
betux has quit [Remote host closed the connection]
betux has joined #ocaml
betux has quit [Remote host closed the connection]
betux has joined #ocaml
sz0 has quit [Quit: Connection closed for inactivity]
betux has quit [Remote host closed the connection]
betux has joined #ocaml
johnelse has quit [Ping timeout: 240 seconds]
johnelse has joined #ocaml
betux has quit [Remote host closed the connection]
betux has joined #ocaml
betux has quit [Remote host closed the connection]
betux has joined #ocaml
betux has quit [Remote host closed the connection]
Simn has joined #ocaml
betux has joined #ocaml
betux has quit [Remote host closed the connection]
betux has joined #ocaml
kakadu has joined #ocaml
betux has quit [Remote host closed the connection]
betux has joined #ocaml
MercurialAlchemi has quit [Ping timeout: 268 seconds]
MercurialAlchemi has joined #ocaml
nicoo has quit [Ping timeout: 258 seconds]
kakadu has quit [Remote host closed the connection]
betux has quit [Remote host closed the connection]
betux has joined #ocaml
kakadu has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
kakadu has quit [Remote host closed the connection]
kakadu has joined #ocaml
betux has quit [Remote host closed the connection]
betux has joined #ocaml
shinnya has quit [Ping timeout: 240 seconds]
FreeBirdLjj has joined #ocaml
shinnya has joined #ocaml
betux has quit [Remote host closed the connection]
betux has joined #ocaml
nullifidian_ has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
nullifidian has quit [Ping timeout: 240 seconds]
betux has quit [Remote host closed the connection]
betux has joined #ocaml
hermaeus has quit [Remote host closed the connection]
AlexRussia_ has joined #ocaml
AlexRussia has quit [Ping timeout: 240 seconds]
kakadu has quit [Ping timeout: 272 seconds]
betux has quit [Remote host closed the connection]
betux has joined #ocaml
AlexRussia__ has joined #ocaml
AlexRussia_ has quit [Ping timeout: 240 seconds]
betux has quit [Remote host closed the connection]
betux has joined #ocaml
silver has joined #ocaml
kakadu has joined #ocaml
betux has quit [Remote host closed the connection]
betux has joined #ocaml
toolslive has quit [Ping timeout: 264 seconds]
toolslive has joined #ocaml
betux has quit [Ping timeout: 255 seconds]
mfp has joined #ocaml
sillyotter has joined #ocaml
* orbifx[m] sent a long message: orbifx[m]_2017-05-14_11:14:13.txt <https://matrix.org/_matrix/media/v1/download/matrix.org/UyqxKrpFQvhtrIYZPGqJnCux>
<orbifx[m]> If Note.t is 'a, then shouldn't the rest match?
larhat has joined #ocaml
shinnya has quit [Ping timeout: 258 seconds]
<kakadu> It seem that you have less gneral type in .ml and want it to be seen as mpre general type in mli
<orbifx[m]> yeah
<orbifx[m]> Not allowed?
<kakadu> no. It doesn't make any sense
average has quit [Quit: leaving]
Simn has quit [Read error: Connection reset by peer]
Simn has joined #ocaml
kakadu has quit [Ping timeout: 260 seconds]
ziyourenxiang has joined #ocaml
kakadu has joined #ocaml
ontologiae has joined #ocaml
igitoor has quit [Ping timeout: 240 seconds]
ontologiae has quit [Ping timeout: 268 seconds]
sillyotter has quit [Quit: WeeChat 1.4]
larhat has quit [Quit: Leaving.]
jnavila has joined #ocaml
rwmjones has quit [Ping timeout: 268 seconds]
shinnya has joined #ocaml
jnavila has quit [Ping timeout: 246 seconds]
<orbifx[m]> Did in my mjnd
johnelse has quit [Ping timeout: 240 seconds]
johnelse has joined #ocaml
igitoor has joined #ocaml
shinnya has quit [Ping timeout: 240 seconds]
igitoor has quit [Changing host]
igitoor has joined #ocaml
Anarchos has joined #ocaml
average has joined #ocaml
FreeBirdLjj has joined #ocaml
nullifidian_ has quit [Read error: Connection reset by peer]
nullifidian__ has joined #ocaml
johnelse has quit [Ping timeout: 268 seconds]
johnelse has joined #ocaml
AlexRussia has joined #ocaml
AlexRussia__ has quit [Ping timeout: 240 seconds]
ontologiae has joined #ocaml
ontologiae has quit [Ping timeout: 264 seconds]
<Leonidas> companion_cube: when will containers be split in single function packages? according to the current trwnds in js thats the way to go
<companion_cube> isn't it already? :p
<companion_cube> (single function, no thanks, but single modules!!)
_whitelogger has joined #ocaml
spew has joined #ocaml
nullifidian__ has quit [Read error: Connection reset by peer]
nullifidian_ has joined #ocaml
cbot has joined #ocaml
aantron_ has joined #ocaml
<aantron_> for anyone that has tried reading lwt.ml in the past, and was stumped: i've commented it to death and reorganized it to make it more legible https://github.com/ocsigen/lwt/pull/354
<aantron_> hopefully it will now be somewhat possible for regular people to contribute to the lwt core :)
<aantron_> (i count as a regular person)
<aantron_> the PR itself is pretty huge, but i would appreciate any review - even just proofreading some of the comments would help pretty much everyone that uses Lwt
nullifidian_ has quit [Read error: Connection reset by peer]
nullifidian_ has joined #ocaml
<Drup> aantron_: Announce that on the mailing list, it will be of interest to a lot more people than people watching the lwt repository :p
<aantron_> Drup: yes :) i'll do that
<aantron_> and probably in a few other places
<aantron_> but it might take me like a day. trying to start resting after finishing this !@#$ :p
<Drup> hum, I'll have to review it
strykerkkd has joined #ocaml
<aantron_> Drup: that would be very helpful :)
<Drup> I think the "unification" vocabulary is not really good, especially since it has nothing to do with what "unification" is in typing/logic
<Drup> You would be better of with "Alias", or something like that
<aantron_> noted. mind adding that as a comment (maybe inline) to the PR?
<aantron_> i struggled a lot with finding a good vocabulary for that, that gives the right idea, and unification was the best thing i came up with. that's why i put it in quotes :)
<Drup> It's not too bad, it's pretty much how unification is actually implemented in OCaml, actually
<Drup> ("Repr" comes from there, in fact)
<aantron_> :)
<aantron_> trying to avoid Repr though. it just seems too opaque, though i guess if explained clearly enough ahead of time, it could be used
<Drup> Well, the "repr" vocabulary is consistent with some compsci domains :p
<Drup> (just, fairly technical ones)
<Drup> btw, what terrible thing would happen if we tried to immediately shorten paths and get rid of that case ?
<aantron_> i'm not sure what you mean by immediately shorten paths – like not have chains of Repr/Unified_with/Alias/whatever to call it?
<Drup> (Also, I think your coding style tends to err a little bit too far on the ravioli side, although is far less terrible than the original spagetti)
<Drup> yes
<aantron_> i think the first time Lwt even becomes aware of such a chain is in a call to underlying
<aantron_> because afaik Lwt never deliberately creates a chain, beyond just one promise pointing to an underlying promise
<aantron_> (i didnt exhaustively check it now, this is just the residual impression left)
<aantron_> also you're welcome to point out the ravioli :)
<Drup> hum, actually, it might be important for canceling
<Drup> *sight*, canceling ...
<aantron_> actually that makes no sense, of course lwt creates chains, there is no other way to create them
<aantron_> anyway that's something that we can hopefully discuss easier with this PR posted, but i would prefer to do it later as `state brain = `Fried`
<Drup> (and now I'm totally going to eat ravioli this evening))
<aantron_> lol
<aantron_> but you're welcome to speculate about it, post it, prod other people (including me) to deal with it, etc. :p
<Drup> maybe I can try to make jérôme reads it
<aantron_> +1
jnavila has joined #ocaml
jsoo has joined #ocaml
govg has quit [Quit: leaving]
jsoo has quit [Client Quit]
jsoo has joined #ocaml
<apache2> is there a way to ensure statically that a given function can only be used once?
<Drup> apache2: can you explain the context ?
<apache2> porting c code to ocaml
<apache2> rewriting the loops to tail-recursive functions
<apache2> I want to make sure that all state modifications (for the previously [in c] mutable variables) get carried across to the next iteration
jsoo has quit [Client Quit]
<apache2> basically I'm looking for a warning message a bit like the "unused variable", but for a certain type of variables I'd like to make sure that they get used exactly once
<Drup> it doesn't exist
<Drup> I remember chambart saying he wanted something like that too, for program transformations
<apache2> I guess it would be a fairly simple ppx
<apache2> like let%once i_2 = foo bar in ...... [recurse over the scope and check that you only see i_2 once]
<Drup> Attributes for that, not extensions
<apache2> what's an attribute?
<apache2> the [@@ once] stuff?
<Drup> Yes
jnavila has quit [Ping timeout: 240 seconds]
<Drup> just like warnings, it doesn't change the semantics of a piece of code, just checks things
<apache2> cool
spew_ has joined #ocaml
ontologiae has joined #ocaml
spew has quit [Ping timeout: 255 seconds]
jnavila has joined #ocaml
<toolslive> so you want uniqueness typing?
ontologiae has quit [Ping timeout: 268 seconds]
<flux> it would be something simpler and syntactic only
<apache2> I am not familiar with that term
jnavila has quit [Ping timeout: 264 seconds]
<flux> besides uniqueness typing isn't "warning only" stuff ;)
<apache2> hehe
<apache2> well "warning only" is a policy question ;)
<apache2> I exit builds on error
<apache2> or warning*
<flux> in any case, integrating uniqueness typing to ocaml would be quite a big task, but a syntactic scan would not be
<flux> let%once a = 42 in let b = a in b + b (* would be illegal with uniqueness typing, would be legal with a syntactic check *)
spew_ is now known as spew
cbot_ has joined #ocaml
cbot has quit [Ping timeout: 255 seconds]
strykerkkd has quit [Quit: Leaving]
<apache2> oh ok
<apache2> that's exactly what iwant though
<apache2> haha
<apache2> thanks for the input!
ziyourenxiang has quit [Quit: Leaving]
tane has joined #ocaml
<flux> you want what, syntactic or typing?
AlexRussia has quit [Ping timeout: 240 seconds]
johnelse has quit [Ping timeout: 260 seconds]
johnelse has joined #ocaml
ygrek has joined #ocaml
lucybun has quit [Ping timeout: 258 seconds]
AlexRussia has joined #ocaml
lucybun has joined #ocaml
copy` has joined #ocaml
jnavila has joined #ocaml
jnavila has quit [Ping timeout: 240 seconds]
ygrek_ has joined #ocaml
inr_ has joined #ocaml
flx_ has joined #ocaml
Anaxagorian_ has joined #ocaml
Cypi_ has joined #ocaml
bernardofpc has joined #ocaml
def`_ has joined #ocaml
ygrek has quit [*.net *.split]
fraggle_ has quit [*.net *.split]
Anaxagorian has quit [*.net *.split]
inr has quit [*.net *.split]
Bluddy[m] has quit [*.net *.split]
aspiwack[m] has quit [*.net *.split]
yetanotherion[m] has quit [*.net *.split]
pote__ has quit [*.net *.split]
bernardo1pc has quit [*.net *.split]
awal has quit [*.net *.split]
ia0 has quit [*.net *.split]
flux has quit [*.net *.split]
srax has quit [*.net *.split]
Cypi has quit [*.net *.split]
def` has quit [*.net *.split]
flx_ is now known as flux
Anaxagorian_ is now known as Anaxagorian
Anarchos has quit [Quit: Vision[0.9.7-H-20140108]: i've been blurred!]
pote_ has joined #ocaml
awal has joined #ocaml
spew_ has joined #ocaml
awal is now known as Guest2418
ia0 has joined #ocaml
spew has quit [Ping timeout: 272 seconds]
jnavila has joined #ocaml
srax has joined #ocaml
aantron_ has quit [Ping timeout: 260 seconds]
fraggle_ has joined #ocaml
yetanotherion[m] has joined #ocaml
Bluddy[m] has joined #ocaml
aspiwack[m] has joined #ocaml
spew_ has quit [Ping timeout: 255 seconds]
zpe has joined #ocaml
mengu has joined #ocaml
mengu has quit [Remote host closed the connection]
mengu has joined #ocaml
spew_ has joined #ocaml
average has quit [Ping timeout: 245 seconds]
average has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
spew_ has quit [Ping timeout: 240 seconds]
johnelse has quit [Ping timeout: 260 seconds]
johnelse has joined #ocaml
larhat has joined #ocaml
Cypi_ is now known as Cypi
FreeBirdLjj has quit [Ping timeout: 260 seconds]
moei has quit [Ping timeout: 240 seconds]
yaewa has joined #ocaml
spew has joined #ocaml
larhat has quit [Quit: Leaving.]
spew has quit [Quit: foobar]
SpiceGuid has joined #ocaml
pierpa has joined #ocaml
larhat has joined #ocaml
yaewa has quit [Quit: Leaving...]
larhat has quit [Quit: Leaving.]
MercurialAlchemi has quit [Ping timeout: 260 seconds]
jack5638 has quit [Ping timeout: 260 seconds]
jack5638 has joined #ocaml
zpe has quit [Remote host closed the connection]
atsampso1 has quit [Quit: kernel upgrade]
atsampson has joined #ocaml
cbot_ has quit [Ping timeout: 240 seconds]
moei has joined #ocaml
atsampson has left #ocaml [#ocaml]
larhat has joined #ocaml
johnelse has quit [Ping timeout: 268 seconds]
johnelse has joined #ocaml
philtor has quit [Ping timeout: 240 seconds]
tane has quit [Quit: Leaving]
SpiceGuid has quit [Quit: ChatZilla 0.9.93 [SeaMonkey 2.46/20161213183751]]
strykerkkd has joined #ocaml
strykerkkd has quit [Client Quit]
Simn has quit [Quit: Leaving]
jnavila has quit [Ping timeout: 260 seconds]
ygrek_ has quit [Ping timeout: 240 seconds]
okeuday_bak has quit [Read error: Connection reset by peer]
larhat has quit [Quit: Leaving.]
Anaxagorian has quit []
silver_ has joined #ocaml
clockish_ has joined #ocaml
SoniEx2 has joined #ocaml
j_king_ has joined #ocaml
henrytill_ has joined #ocaml
clockish has quit [Ping timeout: 268 seconds]
Soni has quit [Excess Flood]
darktenaibre has quit [Ping timeout: 268 seconds]
henrytill has quit [Ping timeout: 268 seconds]
silver has quit [Ping timeout: 268 seconds]
j_king has quit [Ping timeout: 268 seconds]
notdan has quit [Ping timeout: 268 seconds]
darktenaibre has joined #ocaml
clockish_ is now known as clockish
john51 has quit [Read error: Connection reset by peer]
john51 has joined #ocaml
notdan has joined #ocaml
notdan has joined #ocaml
notdan has quit [Changing host]
johnelse has quit [Ping timeout: 240 seconds]
johnelse has joined #ocaml
jbrown has quit [Ping timeout: 255 seconds]
sh0t has joined #ocaml
jbrown has joined #ocaml
sh0t has quit [Ping timeout: 258 seconds]
ontologiae has joined #ocaml
kakadu has quit [Remote host closed the connection]
SoniEx2 is now known as Soni
johnelse has quit [Ping timeout: 255 seconds]
johnelse has joined #ocaml
ontologiae has quit [Ping timeout: 268 seconds]
infinity0_ has joined #ocaml
infinity0 has quit [Killed (leguin.freenode.net (Nickname regained by services))]
infinity0 has joined #ocaml
infinity0_ is now known as infinity0
infinity0 has quit [Remote host closed the connection]