@Átila Neves std.experimental.typcons

Jesse Phillips Jesse.K.Phillips+D at gmail.com
Wed Aug 17 15:21:30 UTC 2022


I was watching the Dconf talk for 2022 and saw you mention 
std.experimental.typcons and needing to look through it.

This was my fault so I'll explain. This was my attempt to updated 
std.typecons.wrap with an implementation that could work with 
struct (because it had a strange limitation at the time). 
https://he-the-great.livejournal.com/54566.html

As I went further with it I wanted to ensure that a wrapped 
struct for a Range type would be achievable. This lead to needing 
to make more modifications to the 'typecons' helper methods. As I 
needed to continue to bring in more pieces, it became 
discouraging to manage what were updates and what should be 'new' 
and how all of this was ultimately going to get "merged" into 
std.typecons.

In conclusion, just throw it out. Getting it to work in Dub first 
and then working out what "merge" looks like makes more sense if 
I ever come back to it.


More information about the Digitalmars-d mailing list