[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?

Now I found why I got confused.

I've successfully solved my original issue below too, as you did in 
mirage-skelton, network,

Thank you for your help!!
MirageOS-devel mailing list



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