You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A primitive capable of handling the primitive types of C# would help simplify a lot of golf snippets. This type will be known simply as Number and consumable as N:
Nfoo=3.14159f;
Ideally, we should have a file per interface implementation required to support the type:
Then one per native primitive being supported to handle conversions:
byte
short
ushort
int
uint
long
ulong
decimal
float
double
This will likely be the most verbose primitive type the project will have. As a result, the support for each native primitive is approved to be defined in its own file under a folder named Number which is marked as not a namespace provider, as is typical of all folders in the repo. The naming format should be *Functions where * represents the native type (e.g. ByteFunctions) or similar to ensure functionality can be maintained in bite-sized chunks.
The text was updated successfully, but these errors were encountered:
A primitive capable of handling the primitive types of C# would help simplify a lot of golf snippets. This type will be known simply as
Number
and consumable asN
:Ideally, we should have a file per interface implementation required to support the type:
Then one per native primitive being supported to handle conversions:
byte
short
ushort
int
uint
long
ulong
decimal
float
double
This will likely be the most verbose primitive type the project will have. As a result, the support for each native primitive is approved to be defined in its own file under a folder named
Number
which is marked as not a namespace provider, as is typical of all folders in the repo. The naming format should be*Functions
where*
represents the native type (e.g.ByteFunctions
) or similar to ensure functionality can be maintained in bite-sized chunks.The text was updated successfully, but these errors were encountered: