[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MirageOS-devel] What is correct type of Mirage_stack?



> - the Mirage_stack_lwt.V4 is a module _type_, not a module (see
> https://caml.inria.fr/pub/docs/manual-ocaml/moduleexamples.html#sec20
> for further explanation)
> - Main is functorized over Mirage_stack_lwt.V4 (the concrete module is
> then bound to S) -- using S.t for the ref
>
> - if you want to keep your layout, have a look at
> https://github.com/hannesm/mirage-skeleton/commit/1f8fd1772be30ef6a7e453df55bc783b7b335c43
> -- crucial to note that MyNet is also functorized now, and the functor
> is applied in Main -- where the S is available.
>
> Does this make sense?

Perfect!!
Now I found why I got confused.

I've successfully solved my original issue below too, as you did in 
mirage-skelton, network,
https://github.com/ehirdoy/light_actor/commit/00e59503a31e80a8cfb04fd6deb6352e5359e698

Thank you for your help!!
_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/mirageos-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.