Leonidas changed the topic of #ocaml to: Discussion about the OCaml programming language | http://www.ocaml.org | OCaml 4.13.0 released: https://ocaml.org/releases/4.13.0.html | Try OCaml in your browser: https://try.ocamlpro.com | Public channel logs at https://libera.irclog.whitequark.org/ocaml/
perrierjouet has quit [Remote host closed the connection]
perrierjouet has joined #ocaml
rgrinberg has joined #ocaml
hornhack has quit [Ping timeout: 256 seconds]
Tuplanolla has quit [Quit: Leaving.]
towel has quit [Ping timeout: 240 seconds]
towel has joined #ocaml
Everything has joined #ocaml
spip has quit [Ping timeout: 256 seconds]
bobo_ has joined #ocaml
rgrinberg has quit [Read error: Connection reset by peer]
rgrinberg has joined #ocaml
mbuf has joined #ocaml
terrorjack has quit [Quit: The Lounge - https://thelounge.chat]
terrorjack has joined #ocaml
waleee has quit [Ping timeout: 240 seconds]
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<d_bot> <minimario> are there good rust native bindings in ocaml
<d_bot> <minimario> i found this but
<d_bot> <minimario> unsure if this is in a good state
vijon has joined #ocaml
zebrag has joined #ocaml
rgrinberg has joined #ocaml
zebrag has quit [Quit: Konversation terminated!]
gravicappa has joined #ocaml
chrisz has quit [Ping timeout: 252 seconds]
chrisz has joined #ocaml
rom1504 has quit [Ping timeout: 268 seconds]
rom1504 has joined #ocaml
vijon has quit [Quit: vijon]
sunset_NOVA has joined #ocaml
jlrnick has joined #ocaml
bartholin has joined #ocaml
mro has joined #ocaml
rgrinberg has quit [Read error: Connection reset by peer]
jsoo has quit [Quit: ZNC 1.8.2 - https://znc.in]
jsoo has joined #ocaml
rgrinberg has joined #ocaml
rwmjones|HOLS is now known as rwmjones
chrisz has quit [Ping timeout: 240 seconds]
chrisz has joined #ocaml
Nahra has joined #ocaml
kaph_ has joined #ocaml
kaph has quit [Ping timeout: 240 seconds]
mro has quit [Remote host closed the connection]
mro has joined #ocaml
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kaph_ has quit [Ping timeout: 256 seconds]
olle has joined #ocaml
biog has joined #ocaml
kaph has joined #ocaml
romildo has joined #ocaml
unyu has quit [Quit: WeeChat 3.3]
hornhack has joined #ocaml
Haudegen has joined #ocaml
gravicappa has quit [Ping timeout: 256 seconds]
jlrnick has quit [Remote host closed the connection]
mro has quit [Read error: Connection reset by peer]
mro has joined #ocaml
mro has quit [Remote host closed the connection]
dalek-caan has joined #ocaml
perrierjouet has quit [Quit: -now]
mro has joined #ocaml
romildo has quit [Quit: Leaving]
dalek-caan has quit [Ping timeout: 256 seconds]
perrierjouet has joined #ocaml
dalek-caan has joined #ocaml
waleee has joined #ocaml
mro has quit [Remote host closed the connection]
mro has joined #ocaml
unyu has joined #ocaml
sunset_NOVA has quit [Quit: Leaving]
gravicappa has joined #ocaml
spip has joined #ocaml
bobo_ has quit [Ping timeout: 240 seconds]
hornhack has quit [Ping timeout: 256 seconds]
Everything has quit [Quit: leaving]
motherfsck has quit [Quit: quit]
mro has quit [Remote host closed the connection]
mro has joined #ocaml
mro has quit [Remote host closed the connection]
<companion_cube> https://ocaml.org/manual/extn.html I cna't find local exceptions in there?
<companion_cube> `let exception Foo in …` I mean
motherfsck has joined #ocaml
<smondet[m]> they are in the non-extension chapter: https://ocaml.org/manual/expr.html
<d_bot> <RegularSpatula> I was looking at this a couple months ago…the couple projects out there seem to say in their docs that they’re in the early stages (haven’t tried them myself though)
bobo_ has joined #ocaml
spip has quit [Ping timeout: 256 seconds]
<companion_cube> ugh
<companion_cube> smondet[m]: I think they should be in the extension chapter?
jlrnick has joined #ocaml
<octachron> companion_cube, I plead guilty: I generally try to move features out of the extension section once they are finalized.
<companion_cube> hmmm
<companion_cube> so, things that should move out include at least, imho: private types, first-class modules, inline records…
<companion_cube> (probably a lot of the lower numbered items, excep 1>)
<companion_cube> 1.
<companion_cube> err, 2.
mro has joined #ocaml
<octachron> For inline records, there might be some issue with their very local nature.
<octachron> Private types are definitively a good candidate.
<companion_cube> hmm
<companion_cube> what do you mean about local records? how could they be improved?
<octachron> First-class modules, there is the interaction with modular explicits
<octachron> They don't have typê in the surface language for instance.
<companion_cube> sure, but it's just like a tuple constructor
<companion_cube> do you mena it's not finalized because it could be that foo.A could become its own proper type?
<companion_cube> (for foo=A of {x:int} | B)
<octachron> Yes, someone might want to be able to name the type of r in `A r -> (r:'a)`
<companion_cube> I mean I'm all for it, but does it invalidate what's existing?
<companion_cube> I think people have been suggesting the same in the context of rust, interestingly
<companion_cube> otoh I understand that "recursive definitions of values" might keep changing, as it already has :)
<octachron> Probably not. But that is kind of standing issue that might create objection when trying to move the manual section.
mro has quit [Remote host closed the connection]
<companion_cube> does the extension page even make sense? could there be some sections of the core language that are marked as "extensions" instead?
<companion_cube> so that all things related to modules are in one place, all things related to sum types, etc.
<octachron> I will prefer that in fact. But it is not a completely consensual opinion.
<octachron> It also requires to extend the structure of the manual to have some more advanced topic.
<octachron> But with the GADT chapter in 4.14, we are slowly moving in this direction.
<companion_cube> 👍
<companion_cube> ok, then I'll stop harassing you :)
mro has joined #ocaml
mbuf has quit [Quit: Leaving]
mro has quit [Remote host closed the connection]
biog has quit [Quit: ZZZzzz…]
mro has joined #ocaml
mro has quit [Remote host closed the connection]
olle has quit [Ping timeout: 256 seconds]
gareppa has joined #ocaml
gareppa has quit [Remote host closed the connection]
<d_bot> <Drup> As someone tried to make a processing-like library in OCaml ?
<companion_cube> processing what?
<d_bot> <Drup> basically, it's a DSL+libraries for making generative art thingies
<d_bot> <Drup> the first one is a Java DSL (yikes) and there has been a javascript version (... yikes²)
<companion_cube> so like a dynamic version of gg/vg?
<d_bot> <glennsl> One of the first reason projects was a processing clone: https://github.com/Schmavery/reprocessing
<d_bot> <glennsl> I seem to recall it having backends for native OpenGL too
<d_bot> <Drup> @companion_cube it's quite a bit more fleshed out than gg/vg, and a bit more geared towards convenience
vicfred has joined #ocaml
<d_bot> <Drup> @glennsl that API ... does not look nice é_è
tristanC has joined #ocaml
<d_bot> <glennsl> yea, not surprising as it was one of the first explorations into API design in Reason, and from someone unfamiliar with OCaml I'm pretty sure.
<d_bot> <glennsl> But the programming model should be basically the same, no? Otherwise I'm not sure what "inspired by" means here...
<d_bot> <Drup> well, yes, but the programming model is rather not difficult, it's more a question of building in all the nice convenient function
<d_bot> <Drup> (proper geometry utilities, random gen, noise gen, picture/gif/video emission, etc. Making it all not combersom to use)
<companion_cube> well maybe JSX helps, though
<d_bot> <Drup> Lot's of this exists in pieces
<d_bot> <Drup> it doesn't use HTML, so no, not really
<companion_cube> there's no link between html and JSX
<companion_cube> you can use it without any html
<d_bot> <Drup> I'm not talking about GUI. JSX is really not relevant here 🙂
<companion_cube> something with inputs, pictures, video, etc. is a GUI
mro has joined #ocaml
<d_bot> <Drup> @companion_cube Code to create https://tylerxhobbs.com/fidenza is not a GUI 🙂
<companion_cube> the framework for that, though…
<companion_cube> and if it's svg, there's no significant difference with html in structure
<companion_cube> so…
mro has quit [Ping timeout: 256 seconds]
<d_bot> <Drup> 🤷
<companion_cube> in other words, JSX would also be useful for Vg
<d_bot> <Drup> I feel like you want to use the JSX hammer :p
<companion_cube> no, I'm saying it exists for a reason
<companion_cube> ("reason", get it? :D)
<d_bot> <Kakadu> We need to upstream JSX 🙂
<d_bot> <Drup> Did you forget who you are talking to ? I know pretty well what JSX is good for and what it does you know 😉
<companion_cube> 🤷🤷
<d_bot> <Kakadu> Is kind of sad that tyxml's jsx_ppx works only for reasonml..
mro has joined #ocaml
<d_bot> <Drup> In this case, I was mostly talking about collections of picture generation and math utilities in an easy to use package
dalek-caan has quit [Quit: dalek-caan]
<d_bot> <Drup> I mostly want to draw on a canvas or make gifs, I do not care about any nesting or interactivity
<companion_cube> ah well, seemed like "processing" was more than that
<d_bot> <Drup> it has other thing, but the core is "just" that (and that's already quite a lot of things, in truth)
jlrnick has quit [Ping timeout: 240 seconds]
bgs has quit [Ping timeout: 256 seconds]
gravicappa has quit [Ping timeout: 256 seconds]
bgs has joined #ocaml
biog has joined #ocaml
rgrinberg has joined #ocaml
vijon has joined #ocaml
olle has joined #ocaml
bgs has quit [Read error: Connection reset by peer]
mro has quit [Quit: Leaving...]
bgs has joined #ocaml
vijon has quit [Quit: vijon]
olle has quit [Ping timeout: 240 seconds]
olle has joined #ocaml
perrierjouet has quit [Remote host closed the connection]
vs-code has joined #ocaml
vs-code has quit [Client Quit]
noman has joined #ocaml
vijon has joined #ocaml
rgrinberg has quit [Read error: Connection reset by peer]
rgrinberg has joined #ocaml
hornhack has joined #ocaml
perrierjouet has joined #ocaml
vijon has quit [Quit: vijon]
hornhack has quit [Read error: Connection reset by peer]
olle has quit [Ping timeout: 240 seconds]
noman has quit [Quit: Client closed]
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bartholin has quit [Quit: Leaving]
rgrinberg has joined #ocaml