On Fri, May 31, 2019 at 2:54 PM David Renshaw <[email protected]> wrote:
> Note that Prasanth's example aliases a module that's at an intermediate > point in the nested hierarchy. I doubt that Haskell would let you do > something like: > > type Global = Pipeline'Stage'Worker'Global; > ... > case Global'Value'JSON: ... > case Global'Value'NUMBER: ... > Oh duh, good point... When the namespace is flattened, aliases only shorten the specific declaration aliased and not all of its nested declarations. Yeah I guess that's tough... -Kenton > -- You received this message because you are subscribed to the Google Groups "Cap'n Proto" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/capnproto. To view this discussion on the web visit https://groups.google.com/d/msgid/capnproto/CAJouXQkbbtky0PLWJCc%3D3GmjHvsxbZK9TtGAfBhCRxr%2BSyF%2B0Q%40mail.gmail.com.
