Truly algebraic Variant and Nullable

jmh530 john.michael.hall at gmail.com
Thu Dec 17 15:38:52 UTC 2020


On Thursday, 17 December 2020 at 15:12:12 UTC, 9il wrote:
> On Wednesday, 16 December 2020 at 16:14:08 UTC, jmh530 wrote:
>> On Wednesday, 16 December 2020 at 15:58:21 UTC, 9il wrote:
>>> [snip]
>>>
>>> Thanks! Maybe, but mir-core is quite small itself and 
>>> mir.algebraic is the only part that would be extended or 
>>> updated in the near future. Other parts are quite stable. If 
>>> there would be a strong reason to split it, we can do it.
>>
>> What about making it into a sub-package, as in here [1]?
>>
>> [1] 
>> https://github.com/atilaneves/unit-threaded/tree/master/subpackages
>
> It takes 0.1 seconds to compile mir-core with LDC in the 
> release mode. It is almost all generic and quite fast to 
> compile. We can, but dub doesn't always work well with 
> submodules. Is there any other reason except compilation speed?

You can put it on code.dlang.org as a subPackage and people can 
download it without downloading all of mir-core. See below:

https://code.dlang.org/packages/unit-threaded


More information about the Digitalmars-d-announce mailing list