[Oberon] Re^2: Module naming in A2.

Jörg Straube joerg.straube at iaeth.ch
Fri Dec 27 09:29:00 CET 2013


In Oberon, the reserved word "IN" is existing as membership relation on SETs; it returns a BOOLEAN.
   k IN {4..20}

Accordingly, you can see the module "Texts" as member of the scope/context "Oberon".

More info here:
http://www.ocp.inf.ethz.ch/wiki/Documentation/Language?action=download&upname=contexts.pdf

Jörg

Am 27.12.2013 um 01:15 schrieb <peasthope at shaw.ca>:

>> From felix.friedrich at inf.ethz.ch
> Date: Thu, 19 Sep 2013 06:05:08 +0200
>> ... (MODULE <ModuleName> IN Oberon) ...
> 
> Just for discussion or interest, the syntax
> <SystemName> MODULE <ModuleName> 
> for example
> Oberon MODULE Texts
> doesn't require the new keyword IN.  There must be a good reason 
> to refrain from putting <SystemName> ahead of MODULE but I
> have yet to grasp it.
> 
> Greetings to everyone for the New Year,             ...Peter E.
> 
> -- 
> 123456789 123456789 123456789 123456789 123456789 123456789 123456789 12
> Tel +1 360 639 0202  Bcc: peasthope at shaw.ca  http://carnot.yi.org/
> 
> 
> --
> Oberon at lists.inf.ethz.ch mailing list for ETH Oberon and related systems
> https://lists.inf.ethz.ch/mailman/listinfo/oberon



More information about the Oberon mailing list