spew has quit [Quit: Connection closed for inactivity]
rig0rmortis has quit [Quit: beep boop]
waleee-cl has quit [Quit: Connection closed for inactivity]
reynir has quit [Ping timeout: 256 seconds]
reynir has joined #ocaml
mmohammadi9812 has joined #ocaml
mfp has quit [Ping timeout: 240 seconds]
narimiran has joined #ocaml
raver has joined #ocaml
laokz has joined #ocaml
laokz has quit [Remote host closed the connection]
nicoo has quit [Remote host closed the connection]
laokz has joined #ocaml
nicoo has joined #ocaml
laokz has quit [Remote host closed the connection]
laokz has joined #ocaml
proletkultura has quit [Ping timeout: 265 seconds]
osa1 has joined #ocaml
proletkultura has joined #ocaml
Haudegen has joined #ocaml
mmohammadi9812 has quit [Quit: I quit (╯°□°)╯︵ ┻━┻]
FreeBirdLjj has joined #ocaml
Tuplanolla has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 240 seconds]
dhil has joined #ocaml
rwmjones-hol is now known as rwmjones
<d_bot_>
<Lupus> ```
<d_bot_>
<Lupus> $ dune build tests/Suite.exe
<d_bot_>
<Lupus> File "_none_", line 1:
<d_bot_>
<Lupus> Error: This expression has type unit but an expression was expected of type
<d_bot_>
<Lupus> string
<d_bot_>
<Lupus> ```
<d_bot_>
<Lupus> Any tips how to debug this other than commenting out files one by one? OCaml 4.08.1, Reason 3.6.0
<d_bot_>
<Lupus> No idea what's loosing the location information, could be some ppx like lwt_ppx which is also used...
dckc has quit [Ping timeout: 258 seconds]
dckc has joined #ocaml
<d_bot_>
<Lupus> okay, `dune build --verbose test/Suite.exe` at least gives me the filename...
<d_bot_>
<Lupus> lol, looks like that was my ppx 😦 fair enough...
borne has joined #ocaml
<d_bot_>
<Lupus> what location is it best to emit in generated code? when I cloned location of original code, it confused merlin and IDE, after I switched to `Location.none`, IDE experience was back to normal, but type errors in generated code are now extremely tricky to debug
bartholin has quit [Quit: Leaving]
<d_bot_>
<rgrinberg> How does using locations from the original code confuses merlin 🤔
hnOsmium0001 has quit [Quit: Connection closed for inactivity]
mmohammadi9812 has joined #ocaml
RalfJ has quit [Remote host closed the connection]
RalfJ has joined #ocaml
<d_bot_>
<Lupus> I wrap original function in my generated function, probably merlin does breadth first search to map editor position to ast node? dunno 🙂 but hovering over stuff that gets wrapped results in whole function code being selected instead of exact e.g. variable
<d_bot_>
<Lupus> after I set location for generated code to `none`, hover for individual entities started to work again
nkly has quit [Quit: ZNC 1.6.6+deb1ubuntu0.2 - http://znc.in]
mal`` has quit [Quit: Leaving]
mal`` has joined #ocaml
reynir has quit [Ping timeout: 256 seconds]
mfp has joined #ocaml
kit_ty_kate has joined #ocaml
dhil has quit [Ping timeout: 272 seconds]
reynir has joined #ocaml
borne has quit [Ping timeout: 240 seconds]
jnavila has joined #ocaml
dhil has joined #ocaml
sz0 has joined #ocaml
jnavila has quit [Ping timeout: 256 seconds]
mmohammadi9812 has quit [Quit: I quit (╯°□°)╯︵ ┻━┻]
ggole has joined #ocaml
laokz has quit [Ping timeout: 265 seconds]
nicknotch has joined #ocaml
narimiran has quit [Ping timeout: 246 seconds]
Haudegen has quit [Quit: Bin weg.]
laokz has joined #ocaml
borne has joined #ocaml
rpcope has quit [Ping timeout: 240 seconds]
rpcope has joined #ocaml
waleee-cl has joined #ocaml
Haudegen has joined #ocaml
sz0 has quit [Quit: Connection closed for inactivity]
nicknotch has quit [Ping timeout: 258 seconds]
nicknotch has joined #ocaml
motherfsck has joined #ocaml
dckc has quit [Ping timeout: 246 seconds]
nicknotch has quit [Ping timeout: 258 seconds]
osa1 has quit [Ping timeout: 260 seconds]
dckc has joined #ocaml
dhil has quit [Ping timeout: 260 seconds]
<seliopou>
yo dinosaure do you have an rfc1123 date parser somewhere?
<seliopou>
I think I was looking at it a while back but can't remember where it is
spew has joined #ocaml
dhil has joined #ocaml
laokz has quit [Remote host closed the connection]
laokz has joined #ocaml
<dinosaure>
seliopou: sorry, I don't think I did something about this RFC :/
<d_bot_>
<psafont> xapi's libs have some minimal code to produce them, not parse those dates
laokz has quit [Quit: Leaving]
<dinosaure>
ah the date, yes `mrmime` has a parser (including CFWS) of dates according to date's rfc822
<dinosaure>
(I was thinking the all RFC)
<d_bot_>
<Anurag> I saw a PR open on ptime where someone's proposing a to_rfc1123 functionality. If that gets in maybe it'd make sense to add a of_rfc1123 as well
<d_bot_>
<darrenldl> though i'll also need to add a proper test suite if it's to be used for anything serious
<d_bot_>
<Drup> would probably be better to separate such rfc parsers into a dedicated package
<d_bot_>
<darrenldl> much saner idea yep
<d_bot_>
<Anurag> I'd have expected calendarlib to have something for this, but its probably better to have a separate smaller lib that deals with various date formats
<Drup>
calendarlib definitely has it .. somewhere, with some custom salt on top of it, and a clunky API
RalfJ has quit [Remote host closed the connection]
RalfJ has joined #ocaml
reynir has quit [Ping timeout: 260 seconds]
reynir has joined #ocaml
borne has quit [Ping timeout: 240 seconds]
dhil has quit [Ping timeout: 258 seconds]
<proletkultura>
not an ocaml question, but does anyone know a sort of scrolling news ticker for emacs? i feel like if i had headlines scroll at the bottom bar i would be less inclined to dip out to scroll headlines every few houw
robmyers has quit [Ping timeout: 240 seconds]
cqc has quit [Ping timeout: 258 seconds]
cbarrett has quit [Ping timeout: 260 seconds]
rfv has quit [Ping timeout: 260 seconds]
banjiewen has quit [Ping timeout: 244 seconds]
adrianbrink has quit [Ping timeout: 260 seconds]
conjunctive has quit [Ping timeout: 272 seconds]
wildsebastian has quit [Ping timeout: 260 seconds]
mmohammadi9812 has quit [Quit: I quit (╯°□°)╯︵ ┻━┻]
jnavila has quit [Quit: Konversation terminated!]
<brettgilio>
so I've been working through the Ocaml unix book by xleroy and it got me wondering if there are other "advanced" (non-beginner) texts for ocaml out there
<brettgilio>
I am pretty confident in OCaml and Standard ML for reference
<brettgilio>
i mean the ocaml language and ecosystem specifically, not tools written in ocaml for non-ocaml purposes.
<brettgilio>
(not Coq, not Frama-C, not Why3)
reynir has quit [Ping timeout: 258 seconds]
borne has joined #ocaml
<companion_cube>
I don't know of texts about that beyond ocamlverse, but maybe look at the recent workshop talk about "the ocaml platform"
reynir has joined #ocaml
dhil has joined #ocaml
ransom has joined #ocaml
dhil has quit [Ping timeout: 240 seconds]
conjunctive has quit [Ping timeout: 240 seconds]
nullcone has quit [Ping timeout: 246 seconds]
chewbranca has quit [Ping timeout: 240 seconds]
jeroud has quit [Ping timeout: 244 seconds]
stephe has quit [Ping timeout: 272 seconds]
hnOsmium0001 has quit [Ping timeout: 240 seconds]
caasih has quit [Ping timeout: 246 seconds]
mrallen1 has quit [Ping timeout: 246 seconds]
adrianbrink has quit [Ping timeout: 240 seconds]
lopex has quit [Ping timeout: 244 seconds]
JSharp has quit [Ping timeout: 260 seconds]
Duns_Scrotus has quit [Ping timeout: 260 seconds]
ipavlo has quit [Ping timeout: 246 seconds]
rdivyanshu has quit [Ping timeout: 246 seconds]
alehander92 has quit [Ping timeout: 246 seconds]
SrPx has quit [Ping timeout: 272 seconds]
sspi__ has quit [Ping timeout: 244 seconds]
mjvoge02 has quit [Ping timeout: 244 seconds]
Boarders has quit [Ping timeout: 240 seconds]
robmyers has quit [Ping timeout: 260 seconds]
higherorder has quit [Ping timeout: 260 seconds]
spew has quit [Ping timeout: 272 seconds]
pgiarrusso has quit [Ping timeout: 260 seconds]
bitonic has quit [Ping timeout: 260 seconds]
jmct has quit [Ping timeout: 260 seconds]
cemerick has quit [Ping timeout: 272 seconds]
adi_________ has quit [Ping timeout: 272 seconds]
wildsebastian has quit [Ping timeout: 260 seconds]
conjunctive has joined #ocaml
caasih has joined #ocaml
chewbranca has joined #ocaml
robmyers has joined #ocaml
mjvoge02 has joined #ocaml
rdivyanshu has joined #ocaml
stephe has joined #ocaml
SrPx has joined #ocaml
adrianbrink has joined #ocaml
higherorder has joined #ocaml
Duns_Scrotus has joined #ocaml
mrallen1 has joined #ocaml
bitonic has joined #ocaml
spew has joined #ocaml
lopex has joined #ocaml
Boarders has joined #ocaml
wildsebastian has joined #ocaml
JSharp has joined #ocaml
adi_________ has joined #ocaml
ipavlo has joined #ocaml
cemerick has joined #ocaml
sspi__ has joined #ocaml
hnOsmium0001 has joined #ocaml
jeroud has joined #ocaml
alehander92 has joined #ocaml
nullcone has joined #ocaml
pgiarrusso has joined #ocaml
jmct has joined #ocaml
sagax has quit [Remote host closed the connection]
Jesin has quit [Quit: Leaving]
Jesin has joined #ocaml
ransom has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Haudegen has quit [Ping timeout: 240 seconds]
rig0rmortis has joined #ocaml
Tuplanolla has quit [Quit: Leaving.]
borne has quit [Ping timeout: 240 seconds]
borne has joined #ocaml
zozozo has quit [Remote host closed the connection]