<dh`>
is it? it's a separate package in my world, and a separate source distfile
<twobitsprite>
dh`: every other SDL language binding I've used included IMG. Are you here to be helpful, or are you just here to get dopamine hits by being a snarky know-it-all?
TCZ has quit []
<dh`>
huh?
<dh`>
well excuse me, just trying to suggest reasons why it might not be there
<dh`>
sheesh
dh` has left #ocaml [#ocaml]
waleee has quit [Read error: Connection reset by peer]
gentauro has quit [Ping timeout: 252 seconds]
reynir has quit [Ping timeout: 276 seconds]
reynir has joined #ocaml
gentauro has joined #ocaml
ygrek has quit [Remote host closed the connection]
ygrek has joined #ocaml
ygrek has quit [Remote host closed the connection]
bhoot has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bhoot has joined #ocaml
bhoot has quit [Ping timeout: 244 seconds]
<discocaml>
<gooby_clown> Do we have to fill in dune-project with all the dependencies scattered throughout the dune files manually, or is there a way for dune to fill them in on its own
<discocaml>
<gooby_clown> Would be great if it was like npm where installing also adds it to the project dependencies
bhoot has joined #ocaml
<discocaml>
<deepspacejohn> If I export a type that uses types from a functor, is there a simpler way to specify them in the interface than `type foo = { bar : int Map.Make(String).t }`?
<discocaml>
<deepspacejohn> In other words, is there a way to "alias" the result of `Map.Make(String)` and reuse it in the interface, without actually having to export that module?
<discocaml>
<deepspacejohn> @Gooby I don't think so. Technically, you don't need to specify them in dune-project at all. Dune is pretty agnostic as to how you manage your dependencies. I think putting them in dune-project is just for if you use Dune to generate opam files.
<discocaml>
<deepspacejohn> @gooby_clown I don't think so. Technically, you don't need to specify them in dune-project at all. Dune is pretty agnostic as to how you manage your dependencies. I think putting them in dune-project is just for if you use Dune to generate opam files.
<discocaml>
<gooby_clown> I do use it to generate the opam file, but what I actually want to do is to be able to, after cloning my own project, be able to run a single command to install the dependencies in the current switch. Opam has `opam install --deps-only` but for that the deps need to be in the opam file, and with generated opam files that means them being in the dune-project, so I was thinking how it would be nice if dune could populate that by itself by ju
bhoot has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bhoot has joined #ocaml
<discocaml>
<deepspacejohn> Yeah, I don’t think there’s a way to completely automate it. Maybe whenever Dune releases its own packaging management feature it might be easier.
<discocaml>
<ada2k> library names are different from opam packages anyway
bhoot has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<discocaml>
<leviroth> Good point
bhoot has joined #ocaml
<discocaml>
<ada2k> i don’t find it that much of a hassle anyway, if i have lots and lots of dependencies it’s normally broke up into a couple of packages that depend on each other
bhoot has quit [Client Quit]
<discocaml>
<ada2k> having dune say discern from (libraries logs.fmt) that you want to depend on logs and fmt would need a mini solver
bhoot has joined #ocaml
bhoot has quit [Client Quit]
TCZ has quit []
<discocaml>
<deepspacejohn> Yeah, I don’t really mind it much either. Theoretically it would be nicer to automate things more but also OCaml projects don’t have a gazillion dependencies like npm projects do
ygrek has joined #ocaml
<discocaml>
<gooby_clown> Fair fair, I see
patrick_ is now known as patrick
tomku has quit [Ping timeout: 260 seconds]
tomku has joined #ocaml
patrick is now known as Guest8124
Guest8124 has quit [Killed (zinc.libera.chat (Nickname regained by services))]
patrick_ has joined #ocaml
<discocaml>
<leviroth> Is it not the case that you can unambiguously map findlib names to file paths, and file paths to opam packages?
bhoot has joined #ocaml
bhoot has quit [Client Quit]
myrkraverk__ is now known as myrkraverk
olle has quit [Ping timeout: 260 seconds]
<discocaml>
<ada2k> i'm sure you can, it would just be a PITA.
myrkraverk has quit [Read error: Connection reset by peer]
myrkraverk has joined #ocaml
tomku has quit [Ping timeout: 260 seconds]
tomku has joined #ocaml
patrick_ is now known as patrick
patrick is now known as Guest1045
Guest1045 has quit [Killed (molybdenum.libera.chat (Nickname regained by services))]
patrick_ has joined #ocaml
<discocaml>
<davesnx> did anyone implemented an async JSON parsing lib?
<discocaml>
<deepspacejohn> jsonm works with streaming data, if that fits what you want
<discocaml>
<davesnx> thanks, that's what I was looking for
<companion_cube>
Can you work around that by using jsonl or sth reasonable of that sort?
gareppa has joined #ocaml
bhoot has joined #ocaml
bhoot has quit [Client Quit]
<discocaml>
<davesnx> I didn't know jsonl !!!!
<discocaml>
<davesnx> but in this case I need json 😦
<discocaml>
<getzapped.> are jane street's rust-style ownership extensions available to use or are they more like propositions yet to be implemented?
<twobitsprite>
anyway..... I got tsld_image installed, added it to my (depeneds ...) stanza in my dune-project file, and in the (libraries ...) stanza in my lib/dune file, but I'm getting: Error: Library "tsdl_image" not found.