<d_bot>
<darrenldl> it's largely for logic that's internal to the library, but if the user asks things about time before 1970, and asks it to return in unix timestamp, it'll gladly return negatives as well
Haudegen has joined #ocaml
mmohammadi98120 has joined #ocaml
mmohammadi9812 has quit [Ping timeout: 272 seconds]
mmohammadi98120 is now known as mmohammadi9812
MasterBen has quit [Remote host closed the connection]
<olle>
what's wrong with ISO dates?
<d_bot>
<Et7f3> IRC users please use `` around short snippet
<d_bot>
<Et7f3> because _ is underline on discord
<d_bot>
<Et7f3> ~~underline~~ italic
<d_bot>
<darrenldl> re olle: internally, it requires doing computation over collections of intervals, i.e. `(int * int64) Seq.t`. externally, nothing wrong with ISO dates actually... i'll update the doc to suggest using ISO date as storage, thanks!
mmohammadi9812 has quit [Ping timeout: 258 seconds]
mmohammadi9812 has joined #ocaml
<d_bot>
<wtetzner> What does `type t = ..` mean?
<theblatte>
it's an extensible variant with no variants declared initially
<d_bot>
<wtetzner> So it works kinda like exceptions?
<def>
yep, exn is (internally) defined as type exn = ..
<theblatte>
except you still get exhaustiveness checks for extensible variants?
vicfred has quit [Remote host closed the connection]
vicfred has joined #ocaml
nkly has quit [Quit: ZNC 1.6.6+deb1ubuntu0.2 - http://znc.in]
nkly has joined #ocaml
kanishka has joined #ocaml
nicoo has quit [Remote host closed the connection]
nicoo has joined #ocaml
gjaldon_ has quit [Quit: Connection closed for inactivity]
reynir has quit [Ping timeout: 260 seconds]
reynir has joined #ocaml
jnavila has joined #ocaml
dhil has quit [Quit: Leaving]
kanishka has quit [Ping timeout: 245 seconds]
dhil has joined #ocaml
narimiran has quit [Ping timeout: 258 seconds]
amiloradovsky has joined #ocaml
mmohammadi9812 has quit [Quit: I quit (╯°□°)╯︵ ┻━┻]
jnavila has quit [Quit: Konversation terminated!]
zebrag has joined #ocaml
inkbottle has quit [Ping timeout: 240 seconds]
ransom has joined #ocaml
osa1 has quit [Ping timeout: 265 seconds]
amiloradovsky has quit [Ping timeout: 240 seconds]
amiloradovsky has joined #ocaml
mmohammadi9812 has joined #ocaml
mmohammadi9812 has quit [Quit: I quit (╯°□°)╯︵ ┻━┻]
robmyers has quit [Ping timeout: 244 seconds]
cemerick has quit [Ping timeout: 240 seconds]
alehander92 has quit [Ping timeout: 244 seconds]
mjvoge02 has quit [Ping timeout: 244 seconds]
bytesighs has quit [Ping timeout: 260 seconds]
higherorder has quit [Ping timeout: 260 seconds]
Duns_Scrotus has quit [Ping timeout: 272 seconds]
caasih has quit [Ping timeout: 244 seconds]
JSharp has quit [Ping timeout: 244 seconds]
bitonic has quit [Ping timeout: 260 seconds]
ec has quit [Ping timeout: 244 seconds]
l1x has quit [Ping timeout: 246 seconds]
jmct has quit [Ping timeout: 240 seconds]
cbarrett has quit [Ping timeout: 260 seconds]
SrPx has quit [Ping timeout: 260 seconds]
waleee-cl has quit [Ping timeout: 260 seconds]
stephe has quit [Ping timeout: 260 seconds]
angerman has quit [Ping timeout: 260 seconds]
mjvoge02 has joined #ocaml
Duns_Scrotus has joined #ocaml
cemerick has joined #ocaml
sspi__ has quit [Ping timeout: 260 seconds]
mgsk has quit [Ping timeout: 260 seconds]
bytesighs has joined #ocaml
caasih has joined #ocaml
cbarrett has joined #ocaml
SrPx has joined #ocaml
ec has joined #ocaml
JSharp has joined #ocaml
sspi__ has joined #ocaml
waleee-cl has joined #ocaml
jmct has joined #ocaml
angerman has joined #ocaml
mgsk has joined #ocaml
stephe has joined #ocaml
robmyers has joined #ocaml
alehander92 has joined #ocaml
bitonic has joined #ocaml
higherorder has joined #ocaml
l1x has joined #ocaml
amiloradovsky has quit [Ping timeout: 240 seconds]
Serpent7776 has quit [Quit: leaving]
amiloradovsky has joined #ocaml
reynir has quit [Ping timeout: 260 seconds]
reynir has joined #ocaml
nullcone has joined #ocaml
tane has quit [Quit: Leaving]
bronsen has quit [Quit: WeeChat 2.9]
bronsen has joined #ocaml
robmyers has quit [Ping timeout: 260 seconds]
robmyers has joined #ocaml
lisq has quit [Quit: lisq]
lisq has joined #ocaml
reynir has quit [Ping timeout: 240 seconds]
reynir has joined #ocaml
dhil has quit [Ping timeout: 260 seconds]
amiloradovsky has quit [Remote host closed the connection]
amiloradovsky has joined #ocaml
Tuplanolla has quit [Quit: Leaving.]
adi_________ has quit [Read error: Connection reset by peer]
jmct has quit [Read error: Connection reset by peer]
mrallen1 has quit [Read error: Connection reset by peer]
alehander92 has quit [Ping timeout: 240 seconds]
pgiarrusso has quit [Ping timeout: 244 seconds]
cqc has quit [Read error: Connection reset by peer]
bytesighs has quit [Read error: Connection reset by peer]
waleee-cl has quit [Ping timeout: 240 seconds]
strmpnk has quit [Read error: Connection reset by peer]
metadave has quit [Ping timeout: 260 seconds]
sspi__ has quit [Read error: Connection reset by peer]
SrPx has quit [Ping timeout: 240 seconds]
stylewarning has quit [Ping timeout: 240 seconds]
rdivyanshu has quit [Ping timeout: 240 seconds]
Boarders has quit [Ping timeout: 240 seconds]
angerman has quit [Ping timeout: 260 seconds]
nullcone has quit [Ping timeout: 260 seconds]
caasih has quit [Ping timeout: 260 seconds]
ec has quit [Ping timeout: 260 seconds]
cemerick has quit [Ping timeout: 260 seconds]
adi_________ has joined #ocaml
jmct has joined #ocaml
bitonic has quit [Ping timeout: 272 seconds]
mrallen1 has joined #ocaml
wildsebastian has quit [Ping timeout: 260 seconds]
kristjansson has quit [Ping timeout: 260 seconds]
bytesighs has joined #ocaml
cbarrett has quit [Ping timeout: 272 seconds]
spew has quit [Ping timeout: 272 seconds]
cemerick has joined #ocaml
spew has joined #ocaml
metadave has joined #ocaml
kristjansson has joined #ocaml
bitonic has joined #ocaml
JSharp has quit [Ping timeout: 240 seconds]
angerman has joined #ocaml
Duns_Scrotus has quit [Ping timeout: 260 seconds]
cqc has joined #ocaml
strmpnk has joined #ocaml
alehander92 has joined #ocaml
pgiarrusso has joined #ocaml
sspi__ has joined #ocaml
wildsebastian has joined #ocaml
rdivyanshu has joined #ocaml
ec has joined #ocaml
waleee-cl has joined #ocaml
<brettgilio>
Hey all, I am working on an implementation of an IRC server in OCaml. I am working through the networking logic right now, and am curious about opinions on handling IO concurrency in a situation like this. With Multicore domains not being out yet, I am given two primary options, Lwt's monadic promise style system or the Unix/Thread module with native mutex threads. Im curious how you all would proceed here.,
cbarrett has joined #ocaml
stylewarning has joined #ocaml
SrPx has joined #ocaml
<companion_cube>
that's probably a place where Lwt shines
caasih has joined #ocaml
nullcone has joined #ocaml
adrianbrink has quit [Ping timeout: 260 seconds]
adrianbrink has joined #ocaml
Duns_Scrotus has joined #ocaml
JSharp has joined #ocaml
jmct has quit [Ping timeout: 246 seconds]
Boarders has joined #ocaml
cemerick has quit [Ping timeout: 256 seconds]
spew has quit [Ping timeout: 256 seconds]
pgiarrusso has quit [Ping timeout: 258 seconds]
<brettgilio>
companion_cube: Yeah, I think so as well. I tried to find similar benchmarks for say a few thousand connections comparing the two, but there isnt much.
jmct has joined #ocaml
<companion_cube>
I think threads would work well, but you might have to configure your kernel
<companion_cube>
so, lwt is probably simpler
<brettgilio>
Hmm. I hadn't considered that aspect of it.
spew has joined #ocaml
cemerick has joined #ocaml
<brettgilio>
That is enough to convince me right there.
<brettgilio>
I'll just go with Lwt for now
Haudegen has quit [Ping timeout: 264 seconds]
pgiarrusso has joined #ocaml
<brettgilio>
Thanks
<brettgilio>
companion_cube:
ec is now known as ELLIOTTCABLE
ELLIOTTCABLE is now known as ec
amiloradovsky has quit [Remote host closed the connection]