<discocaml>
<lroche> I remember a message that is probably less than 2 or 3 years old (probably in the forum or github) about file embedding becoming different in a "recent" ocaml because parsing of raw strings changed. Probably something about \r\n and \n being normalized or something like that. Basically making what is suggesting in https://www.reddit.com/r/ocaml/comments/quqgqk/embedding_a_file_as_a_string_at_compile_time/ invalid for binary content. But I can't
<companion_cube>
ah, had to resize my window, sorry
<companion_cube>
part of the URL was cut 😅
<discocaml>
<lroche> I'm starting to think that the message was posted when there was all the discussions about attacks with invisible chars. Getting old, my memory is failing me
<discocaml>
<lroche> anyway if you don't remember immediately please don't spend time on it, the changelog is probably enough of a justification to use crunch/ppx_blob instead of manual embedding
<companion_cube>
how does crunch work, actually?
<companion_cube>
I can imagine that ppx_blob can directly create an AST node, which is really efficient
dhil has quit [Read error: Connection reset by peer]
xd1le has joined #ocaml
dhil has joined #ocaml
mro has quit [Quit: Leaving]
tizoc` has quit [Quit: Coyote finally caught me]
tizoc has joined #ocaml
CodeGerrard has joined #ocaml
pieguy128 has quit [Ping timeout: 268 seconds]
mima has quit [Ping timeout: 260 seconds]
waleee has joined #ocaml
<discocaml>
<.armael.> Wasn’t there a recent change in trunk wrt this \r situation?
<discocaml>
<lroche> Yes. Somehow I thought it was 2 years old but it’s actually very recent
<discocaml>
<.armael.> Ah ok I see
<companion_cube>
So only ppx_blob will be correct now?
<discocaml>
<dinosaure> it apply only for `{|` and `|}`, no?
<discocaml>
<dinosaure> it applies only for `{|` and `|}`, no?
<companion_cube>
Sure but that's generally what I use for that
edr has joined #ocaml
kurfen has quit [Ping timeout: 260 seconds]
kurfen has joined #ocaml
mima has joined #ocaml
<discocaml>
<dinosaure> can we "safely" use `Obj.magic` from a `(char, int8_unsigned_elt, _) Bigarray.Array1.t` to a `(int32, int32_elt, _) Bigarray.Array1.t` ?
<discocaml>
<drupyog> @octachron on peut utiliser merlin sur le typeur en ce moment ? Il faut faire quoi ?
<discocaml>
<drupyog> @octachron can we use merlin on the compiler right now ? how ?
<companion_cube>
(try another language)
waleee has quit [Quit: WeeChat 4.1.0]
<discocaml>
<octachron> `dune build @check` should half-work enough to enable merlin
<discocaml>
<drupyog> it doesn't seem to really work right now
waleee has joined #ocaml
pieguy128 has joined #ocaml
dh` has quit [Ping timeout: 256 seconds]
Putonlalla has quit [Ping timeout: 256 seconds]
dnh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kurfen has quit [Ping timeout: 255 seconds]
kurfen has joined #ocaml
Putonlalla has joined #ocaml
waleee has quit [Ping timeout: 264 seconds]
bartholin has joined #ocaml
<discocaml>
<octachron> It works for me on today trunk. You need to start from a clean tree and ignore any errors.
Serpent7776 has quit [Ping timeout: 276 seconds]
szkl has quit [Quit: Connection closed for inactivity]
dh` has joined #ocaml
dh` has joined #ocaml
dh` has quit [Changing host]
gentauro has quit [Ping timeout: 276 seconds]
gentauro has joined #ocaml
Serpent7776 has joined #ocaml
mima has quit [Ping timeout: 264 seconds]
masterbuilder has quit [Ping timeout: 246 seconds]
masterbuilder has joined #ocaml
dnh has joined #ocaml
waleee has joined #ocaml
Tuplanolla has joined #ocaml
wingsorc has joined #ocaml
<greenbagels>
hmm i dont remember if ive asked this before, but is there any reasonably supported cross compilation setup for linux -> windows with ocaml 5?
<greenbagels>
(or even 4.14)
yziquel has joined #ocaml
mima has joined #ocaml
dhil has quit [Ping timeout: 246 seconds]
<remexre>
does ocaml guarantee any tail-call properties of the stdlib? e.g. is Option.bind guaranteed to tail-call f
<companion_cube>
you have to look at the implementation
<companion_cube>
some things became tailcall recently (e.g. List.map)
<remexre>
my quesiton is more of a stability one, I guess; like, is it guaranteed that the stdlib won't make something no longer be a tail call
<remexre>
(Option.bind is right now and I can't think of a reasonable implementation that isn't, but it'd be nice to have a guarantee to cite that "no this actually won't blow up")
yziquel has quit [Quit: Client closed]
yziquel has joined #ocaml
mro has joined #ocaml
kuruczgy has joined #ocaml
CodeGerrard has quit [Ping timeout: 260 seconds]
mro has quit [Quit: Leaving]
dnh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Serpent7776 has quit [Ping timeout: 255 seconds]
bartholin has quit [Quit: Leaving]
<discocaml>
<silverneedles> is there a name for functions that have the type keyword in their parameters?