Bolts 0.4 meta programming library

aliak something at something.com
Thu Aug 2 10:31:02 UTC 2018


On Thursday, 2 August 2018 at 08:45:33 UTC, John Colvin wrote:
> On Thursday, 2 August 2018 at 08:40:55 UTC, John Colvin wrote:
>> This looks cool. Lots of things that lots of people have 
>> reimplemented lots of times over the years, but all in one 
>> place and documented.
>>
>> 2 points:
>>
>> 1) Are you aware of this: 
>> https://github.com/dlang/phobos/blob/master/std/meta.d ? I 
>> think if a bunch of good motivating examples are given, making 
>> this public would be possible. Then everyone would be using 
>> the same one and your library would truly just be utilities.

Thanks! And yes, totally aware of that. I have tried to link to 
relevant forum posts and will try to add more as I go along to 
where the usages were concocted. So I guess those could be the 
motivations?

But it'd also be nice to just use it for a while and get feedback 
and experience with the names/APIs/functionalities/etc before 
adding it to std.meta. Though being in std would be ideal of 
course.

>
> woops, pressed send too early:
>
> 2) I don't think "doth" is synonymous with "is" how you're 
> using it. "doth" is for doing, e.g.
>
> "Methinks he doth protest too much" or "This code doth stink" 
> is OK
>
> "Green doth a colour" or "strstr doth a function" is not OK.

Dammit! You're right! Thank you for pointing that out.

Art! It's Art! ... or maybe i can use a hipster "is" ... i.e. 
"iz" :p

Cheers,
- Ali


More information about the Digitalmars-d-announce mailing list