|
From: | Alice Osako |
Subject: | Re: Portability Considerations |
Date: | Mon, 18 Mar 2024 13:11:37 -0400 |
User-agent: | Mozilla Thunderbird |
The use of infix operators with sets isn't all that great anyway since the only operators supported are not intuitive because they do not match the mathematical operators.Not being terribly enthusiastic for infix operators in general, I certainly can agree.
EXPORT is only needed within local modules, that is, modules that are nested within other modules (ugly sh1t).
At the top level, everything within an interface module (.def) is automatically exported.
Also, since you are likely to have expressions with multiple bit operations, you want to keep the names of the functions as short as possible to avoid clutter. Across languages of the Algol/Pascal family, you will most frequently see the following names:
SHL, SHR, ASHR, ROTL, ROTR, BWNOT, BWAND, BWOR etc
[Prev in Thread] | Current Thread | [Next in Thread] |