mizlan has quit [Remote host closed the connection]
<discocaml>
<idontwantausernamefeckoff> manually editing it to take a ``[`Generic | `Unix`` value connects to postgres fine, and i'm already having to manually reconstruct the env object so i'm wondering if this is a case of eio changing the api (i had to pin to master to run with 0.14) or im missing something
<discocaml>
<idontwantausernamefeckoff> manually editing it to take a ``[`Generic | `Unix`` value connects to postgres fine, and i'm already having to manually reconstruct the env object so i'm wondering if this is a case of eio changing the api (i had to pin to master to run with 0.14) and i should open an issue or im simply missing something
mizlan has quit [Ping timeout: 246 seconds]
mizlan has joined #ocaml
average has joined #ocaml
mizlan has quit [Ping timeout: 272 seconds]
azimut has joined #ocaml
dnh has joined #ocaml
dnh has quit [Ping timeout: 264 seconds]
mizlan has joined #ocaml
mizlan_ has joined #ocaml
rgrinberg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mizlan has quit [Ping timeout: 268 seconds]
pi3ce has joined #ocaml
szkl has quit [Quit: Connection closed for inactivity]
average has quit [Quit: Connection closed for inactivity]
rgrinberg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mizlan_ has quit [Remote host closed the connection]
mizlan has joined #ocaml
mizlan has quit [Ping timeout: 252 seconds]
myrkraverk__ has quit [Quit: Leaving]
Serpent7776 has joined #ocaml
<dh`>
blurgh I hate it when your lists get too long for List.map
<discocaml>
<geoff> Not a problem anymore with the new stdlib (with tail mod cons) though, right?
rgrinberg has joined #ocaml
dnh has joined #ocaml
bartholin has joined #ocaml
<dh`>
probably not but this is not 5 yet
dnh has quit [Ping timeout: 260 seconds]
Serpent7776 has quit [Ping timeout: 256 seconds]
<reynir>
When using caqti, do you know of an example where you don't pass `Caqti_type.unit` as the second argument to `Caqti_request.Infix.( -->. )` ?
<reynir>
So the type is `val Caqti_request.Infix.( -->. ) : 'a Caqti_type.t -> unit Caqti_type.t -> _` so unless you `Caqti_type.custom` it only ever makes sense to pass `Caqti_type.unit` (and I can't really think of a case where a custom type makes sense)
Tuplanolla has joined #ocaml
raskol has quit [Ping timeout: 260 seconds]
rgrinberg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
olle has joined #ocaml
olle has quit [Remote host closed the connection]
pmk has joined #ocaml
Serpent7776 has joined #ocaml
dnh has joined #ocaml
alexherbo2 has joined #ocaml
dnh has quit [Ping timeout: 272 seconds]
average has joined #ocaml
Romanson has joined #ocaml
dnh has joined #ocaml
<neiluj>
hey! got a typing problem: https://github.com/jtcoolen/ocaml-pari/blob/main/examples/kzg.ml#L115, here the labeled arg n is supposed to be of type Integer.t=(integer, ring) typ, the type of residue_class is (finite_field, field) typ -> (finite_field, ring) typ Polynomial.t and Polynomial.( .%[] ) : ('a, ring) typ t -> int -> ('a, ring) typ but here the type of .%[] is (finite_field, ring) typ Integer.t Polynomial.t -> int -> Integer.t,
<neiluj>
while it should be (finite_field, ring) typ Polynomial.t -> int -> (finite_field, ring) typ
<neiluj>
is there an explanation for that?
Anarchos has joined #ocaml
dnh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dnh has joined #ocaml
Anarchos has quit [Ping timeout: 252 seconds]
Anarchos has joined #ocaml
azimut has quit [Ping timeout: 255 seconds]
dnh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gareppa has joined #ocaml
dnh has joined #ocaml
gareppa has quit [Quit: WeeChat 4.0.5]
dnh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Anarchos has quit [Quit: Vision[]: i've been blurred!]
<discocaml>
<._null._> `type demonstration = (formula list * step) list and theorem = (formula, demonstration) theorem_logic and step = (formula,theorem) step_logic`
<discocaml>
<._null._> Basically, there is no need to break the cycle, it is supported
rgrinberg has joined #ocaml
<Fardale>
Anarchos: you either need to compile with -rectypes or you need to introduce a constructor, for exemple having `type step = Step of (formula, theorem) step_logic`
<discocaml>
<._null._> Oh woops
<discocaml>
<._null._> Add `[@@unboxed]` after the type declaration and it will compile as if you had recursive types
<Anarchos>
thanks
rgrinberg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
azimut has quit [Remote host closed the connection]
azimut has joined #ocaml
azimut has quit [Ping timeout: 255 seconds]
azimut has joined #ocaml
alexherbo2 has quit [Remote host closed the connection]