companion_cube changed the topic of #ocaml to: Discussion about the OCaml programming language | http://www.ocaml.org | OCaml 5.0 released(!!1!): https://ocaml.org/releases/5.0.0.html | Try OCaml in your browser: https://try.ocamlpro.com | Public channel logs at https://libera.irclog.whitequark.org/ocaml/
terrorjack has quit [Quit: The Lounge - https://thelounge.chat]
terrorjack has joined #ocaml
terrorjack has quit [Client Quit]
wingsorc__ has quit [Quit: Leaving]
terrorjack has joined #ocaml
spip has quit [Quit: Konversation terminated!]
chrisz has quit [Ping timeout: 268 seconds]
chrisz has joined #ocaml
trillion_exabyte has quit [Ping timeout: 246 seconds]
trillion_exabyte has joined #ocaml
waleee has quit [Ping timeout: 240 seconds]
waleee has joined #ocaml
waleee has quit [Ping timeout: 264 seconds]
waleee has joined #ocaml
rf has quit [Quit: Leaving]
waleee has quit [Ping timeout: 250 seconds]
waleee has joined #ocaml
motherfsck has joined #ocaml
greaser|q is now known as GreaseMonkey
Haudegen has joined #ocaml
motherfsck has quit [Ping timeout: 240 seconds]
mbuf has joined #ocaml
waleee has quit [Ping timeout: 240 seconds]
bartholin has joined #ocaml
Serpent7776 has joined #ocaml
bartholin has quit [Quit: Leaving]
bgs has joined #ocaml
wilfred has joined #ocaml
azimut has quit [Ping timeout: 240 seconds]
spip has joined #ocaml
Everything has quit [Quit: leaving]
Everything has joined #ocaml
kakadu has quit [Quit: Konversation terminated!]
wagle has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
wagle has joined #ocaml
wagle has quit [Client Quit]
wagle has joined #ocaml
wilfred has quit [Quit: Connection closed for inactivity]
Haudegen has quit [Quit: Bin weg.]
Haudegen has joined #ocaml
<Leonidas> Can I somehow specify a module type of a functor?
<Leonidas> I guess it is an A/B problem. I want to pass a functor to a functor and for this I need to specify the sig of a functor, how do I get that?
<theblatte> I thought there was no arrow type for modules but actually there is! "module type M = functor (A : sig end) -> sig end;;"
<discocaml> <smondet> yes like this: module type N = sig module M : functor (P : sig type t end) -> sig type t = P.t list end end;;
<discocaml> <smondet> or without the useless indirection: module type N = functor (P : sig type t end) -> sig type t = P.t list end;;
<Leonidas> interesting, let me try...
bartholin has joined #ocaml
<Leonidas> That seems to work. Thanks! Looks like the official manual describes quite a lot of functor magic, need to figure out how to incorporate that into my code
waleee has joined #ocaml
azimut has joined #ocaml
Tuplanolla has joined #ocaml
Haudegen has quit [Quit: Bin weg.]
mbuf has quit [Quit: Leaving]
waleee has quit [Ping timeout: 246 seconds]
slothby has quit [Quit: brb ... maybe]
Haudegen has joined #ocaml
slothby has joined #ocaml
GreaseMonkey has quit [Quit: No Ping reply in 180 seconds.]
greaser|q has joined #ocaml
bartholin has quit [Remote host closed the connection]
bartholin has joined #ocaml
Serpent7776 has quit [Quit: WeeChat 1.9.1]
rf has joined #ocaml
dhil has joined #ocaml
bgs has quit [Remote host closed the connection]
trillion_exabyte has quit [Ping timeout: 264 seconds]
trillion_exabyte has joined #ocaml
waleee has joined #ocaml
dhil has quit [Ping timeout: 240 seconds]
rf has quit [Ping timeout: 256 seconds]
bartholin has quit [Quit: Leaving]
greaser|q has quit [Changing host]
greaser|q has joined #ocaml
greaser|q is now known as GreaseMonkey
Tuplanolla has quit [Quit: Leaving.]
rf has joined #ocaml
wingsorc has joined #ocaml
adrien has quit [Ping timeout: 246 seconds]
asm has quit [Ping timeout: 246 seconds]
adrien has joined #ocaml
asm has joined #ocaml
waleee has quit [Ping timeout: 240 seconds]
waleee has joined #ocaml
amk has quit [Ping timeout: 240 seconds]
waleee has quit [Ping timeout: 250 seconds]
waleee has joined #ocaml
amk has joined #ocaml