<d_bot>
<Lupus> Is it possible to construct a function signature that will add a tag to existing tags of phantom type (polymorphic variant)? Like it receives <X as 'a and I want it to return >X with other constructors that were previously in 'a. Like in [A,B,C] -> [A,B,C,X]. Underlying implementation will be Obj.magic, phantom types are needed to enforce business logic.
<d_bot>
<Lupus> Some background on the business logic: http request processing with filters. I have some type for request with universal map inside, that universal map is extended in runtime by a set of user-provided functions-filters (set itself is known at compile time), each of those extension function-filters can read the request type itself or read the extensions set in universal map by other filters. I was thinking about introducing some typ
mro has quit [Remote host closed the connection]
bartholin has joined #ocaml
mro has joined #ocaml
np has quit [Quit: bye]
nerdypepper has joined #ocaml
kakadu_ has joined #ocaml
<d_bot>
<Lupus> Looks like this is not possible in first place, if I'm reading https://github.com/ocaml/ocaml/issues/6122 correctly... OCaml can't transfer arbitrary polyvariant constructors from type parameter to another type 😦
drakonis has quit [Ping timeout: 246 seconds]
kakadu has quit [Ping timeout: 240 seconds]
drakonis has joined #ocaml
<d_bot>
<Lupus> Are there any other possibilities to model this in types without sacrificing the end-user sanity?
mro has quit [Remote host closed the connection]
mro has joined #ocaml
chrisz has quit [Remote host closed the connection]
ulyssa has quit [Ping timeout: 246 seconds]
ulyssa has joined #ocaml
Anarchos has joined #ocaml
Serpent7776 has quit [Quit: leaving]
slothby has quit [Ping timeout: 260 seconds]
slothby has joined #ocaml
Anarchos has quit [Quit: Vision[]: i've been blurred!]
mro has quit [Remote host closed the connection]
mro has joined #ocaml
kakadu has joined #ocaml
kakadu_ has quit [Read error: Connection reset by peer]
mro has quit [Remote host closed the connection]
<d_bot>
<VPhantom> Holy cow I had no idea ocaml.org had an interactive API search feature! 😱
spip has joined #ocaml
bobo has quit [Ping timeout: 264 seconds]
mro has joined #ocaml
mouseghost has joined #ocaml
jlrnick has joined #ocaml
<sim642>
Is there an equivalent of Python's shlex.split in some package?
<mouseghost>
i think you would need to specify what exactly you want... sim642
<sim642>
Split a string just like a shell would, correctly handling quoting and escaping
Haudegen has quit [Quit: Bin weg.]
chrisz has joined #ocaml
cemerick has quit [Ping timeout: 240 seconds]
<hannes>
is here anyone around who can explain something about "opam-monorepo" to me?
caasih has quit [Ping timeout: 256 seconds]
<hannes>
the main question I guess is how it figures out dependencies (when invoking "opam monorepo lock")?
kakadu has quit [Remote host closed the connection]
kakadu has joined #ocaml
waleee has joined #ocaml
rgrinberg has joined #ocaml
waleee has quit [Quit: WeeChat 3.3]
waleee has joined #ocaml
mro has joined #ocaml
bartholin has quit [Quit: Leaving]
average has joined #ocaml
mro has quit [Remote host closed the connection]
mbuf has quit [Quit: Leaving]
mro has joined #ocaml
Haudegen has quit [Quit: Bin weg.]
mro has quit [Remote host closed the connection]
waleee has quit [Ping timeout: 250 seconds]
waleee has joined #ocaml
olle has quit [Ping timeout: 260 seconds]
mro has joined #ocaml
mro has quit [Remote host closed the connection]
Haudegen has joined #ocaml
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
olle has joined #ocaml
Anarchos has joined #ocaml
mro has joined #ocaml
Anarchos has quit [Quit: Vision[]: i've been blurred!]
mro has quit [Remote host closed the connection]
mro has joined #ocaml
olle has quit [Ping timeout: 256 seconds]
rgrinberg has joined #ocaml
spip has quit [Quit: Konversation terminated!]
mro has quit [Remote host closed the connection]
spip has joined #ocaml
mro has joined #ocaml
jlrnick has joined #ocaml
vb_ has quit [Ping timeout: 250 seconds]
vb has joined #ocaml
mro has quit [Remote host closed the connection]
mro has joined #ocaml
jlrnick has quit [Ping timeout: 245 seconds]
mro has quit [Remote host closed the connection]
mro has joined #ocaml
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mro has quit [Remote host closed the connection]
rgrinberg has joined #ocaml
mro has joined #ocaml
cedric has joined #ocaml
<mouseghost>
sim642, see last message here
mro has quit [Ping timeout: 268 seconds]
zebrag has joined #ocaml
Tuplanolla has joined #ocaml
<d_bot>
<Alistair> Are there plans for ppx_let to support let pruning?
mouseghost has quit [Quit: mew wew]
<d_bot>
<leviroth> Do you mean let punning? I was under the impression that the expansion of `let%foo bar in` to `let%foo bar = bar in` was done automatically by the compiler wherever there is an extension node, before the ppx does anything.
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cedric has quit [Quit: Konversation terminated!]
Haudegen has quit [Ping timeout: 268 seconds]
mal`` has quit [Quit: Leaving]
engil1 has quit [Remote host closed the connection]