lists.lysator.liu.se
Sign In Sign Up
Manage this list Sign In Sign Up

Keyboard Shortcuts

Thread View

  • j: Next unread message
  • k: Previous unread message
  • j a: Jump to all threads
  • j l: Jump to MailingList overview
thread

foo

Martin Stjernholm, Roxen IS @ Pike developers forum

24 Sep 2003 24 Sep '03
12:10 p.m.

Yes it's possible to inherit modules, provided that they aren't dirnodes or joinnodes. I've thought about solving the dirnode issue by essentially removing dirnodes altogether (especially the `[] and `-> lfuns in them). Joinnodes are harder to do away with. A solution for that case is probably to add a callback in the compilation handler that can extract a suitable class from the joinnode (or complain). As for typechecking, it would be necessary that e.g. Regexp and Regexp.Regexp compare as equal, but only when Regexp is used as a class. It's not possible to solve well. / Martin Stjernholm, Roxen IS Previous text:

...

2003-09-24 14:00: Subject: foo -------------------------------------------------------------------- inherit? You can't inherit modules anyway?

Although I agree on the typechecking. Why doesn't `() look up the lfun?

/ Mirar

0 0
Reply
Sign in to reply online Use email software

Back to the thread

Back to the list

HyperKitty Powered by HyperKitty version 1.3.12.