rgrinberg has quit [Quit: My Unrecognized Mac has gone to sleep. ZZZzzz…]
Tuplanolla has quit [Quit: Leaving.]
<discocaml>
<deepspacejohn> Also “generative” functors are able to create modules with no input module, specifically for creating new types.
<dh`>
hmm this seems broken
<dh`>
% dune --version
<dh`>
n/a
<discocaml>
<mbacarella> functors are monads in which the bind operation degenerates into a lifting of pure morphisms, such that the monadic structure collapses into a single-layer context application without requiring a join to resolve nested contexts.
<discocaml>
<mbacarella> what's the problem?
agentcasey has quit [Remote host closed the connection]
Stumpfenstiel has quit [Ping timeout: 276 seconds]
zenmov has joined #ocaml
<discocaml>
<darrenldl> is it correct that in order to statically link C dependencies, the i need to write C stubs for ctypes instead of using the dynamic lookups?
<dh`>
depends what you're statically linking
<discocaml>
<darrenldl> trying to link either zstd lib or zlib
<dh`>
I would expect that everything in ctypes comes from libc, so as long as you don't link libc statically there shouldn't be problems
<discocaml>
<darrenldl> and deciding between camlzip and zstd package, latter of which doesn't use C stubs, and I can't remember if that caused issue for me in the past
<discocaml>
<darrenldl> yeah...i'm trying to link on alpine with musl
<dh`>
I remember using ctypes for something or other at some point but I can't remember what and it wasn't very intensive
<dh`>
so mostly I dunno but I can tell you things about dynamic linking
<dh`>
(mostly things that will make your hair curl, soundness isn't even a remote consideration)
agentcasey has joined #ocaml
f[x] has joined #ocaml
f[x] has quit [Remote host closed the connection]
ygrek has joined #ocaml
troydm has quit [Ping timeout: 248 seconds]
<discocaml>
<diligentclerk> I know you're joking around but OCaml module functors are named by loose analogy to category-theoretic functors rather than by formal correspondence so it can be confusing to conflate them
<discocaml>
<diligentclerk> ```ocaml
<discocaml>
<diligentclerk> module type S =
<discocaml>
<diligentclerk> type t
<discocaml>
<diligentclerk> val s : (t -> t) -> t
<discocaml>
<diligentclerk> end
<discocaml>
<diligentclerk> ```
<discocaml>
<diligentclerk> I think this should be an example of a module type where there is not a sensible way to define a category of modules and module homomorphisms
<discocaml>
<diligentclerk> Also yeah that is some comically confusing prose 😄
ygrek has quit [Remote host closed the connection]
dh` has quit [Read error: Connection reset by peer]
dh` has joined #ocaml
euphores has quit [Quit: Leaving.]
euphores has joined #ocaml
cr1901_ is now known as cr1901
<discocaml>
<iamjcchan> is there a production ready http framework/server for ocaml 5?
<companion_cube>
Didn't realize piaf was also server side
casastorta has joined #ocaml
<discocaml>
<yawaramin> yeah the request and response types are the same so it's symmetrical
<companion_cube>
Same as dream heh
<discocaml>
<yawaramin> sorry i meant specifically that the server and client have the same request and response types. but you're right about Dream using the same base 'message' type for both. plus the Hyper client library also has the property of using the same request and response types that Dream does
Stumpfenstiel has joined #ocaml
Stumpfenstiel has quit [Changing host]
Stumpfenstiel has joined #ocaml
rgrinberg has quit [Quit: My Unrecognized Mac has gone to sleep. ZZZzzz…]
rgrinberg has joined #ocaml
rgrinberg has quit [Quit: My Unrecognized Mac has gone to sleep. ZZZzzz…]
rgrinberg has joined #ocaml
euphores has quit [Read error: Connection reset by peer]
rgrinberg has quit [Read error: Connection reset by peer]
rgrinberg has joined #ocaml
euphores has joined #ocaml
germ_ has quit [Read error: Connection reset by peer]
germ_ has joined #ocaml
Anarchos has joined #ocaml
jsoo has joined #ocaml
ygrek has joined #ocaml
rgrinberg has quit [Quit: My Unrecognized Mac has gone to sleep. ZZZzzz…]
Anarchos has quit [Quit: Vision[]: i've been blurred!]
toastal has joined #ocaml
rgrinberg has joined #ocaml
Everything has joined #ocaml
oriba has joined #ocaml
bartholin has quit [Quit: Leaving]
Serpent7776 has quit [Ping timeout: 255 seconds]
<dh`>
is one supposed to recompile everything if going from 4.12.1 to 4.12.2?