Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [golo-dev] Augmentation scope

Hi,

This is a very interesting topic.

How about something like transitive imports, i.e., something like:

  module Plop

  import transitive foo.Bar

in which case importing Plop also makes foo.Bar available at the consumer tail of imports.

The idea is to keep a middle-ground between what we have now (which is restrictive), and meta-classes / global augmentations.

Thoughts?

- Julien




Back to the top