Movement against float.init being nan

Salih Dincer salihdb at hotmail.com
Sat Aug 20 11:35:06 UTC 2022


On Saturday, 20 August 2022 at 07:08:50 UTC, Tejas wrote:
>
> Obligatory mention of how F# solved this with a feature called 
> `units of measure`
>
> https://docs.microsoft.com/en-us/dotnet/fsharp/language-reference/units-of-measure

If needed, units are possible at compile time using template and 
enumerator. Walter showed much better in DConf'22:

**Title:** Using Enums to Generate Scoped
List of Names, p.32
**Source:** 
https://github.com/dlang/dconf.org/blob/master/2022/slides/bright.pdf

Thanks to Andrey Zherikov

SDB at 79


More information about the Digitalmars-d mailing list