www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - =?UTF-8?B?QMOBdGlsYQ==?= Neves std.experimental.typcons

reply Jesse Phillips <Jesse.K.Phillips+D gmail.com> writes:
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.
Aug 17 2022
next sibling parent Atila Neves <atila.neves gmail.com> writes:
On Wednesday, 17 August 2022 at 15:21:30 UTC, Jesse Phillips 
wrote:
 I was watching the Dconf talk for 2022 and saw you mention 
 std.experimental.typcons and needing to look through it.

 [...]
Awesome, thanks.
Aug 17 2022
prev sibling parent Dennis <dkorpel gmail.com> writes:
On Wednesday, 17 August 2022 at 15:21:30 UTC, Jesse Phillips 
wrote:
 In conclusion, just throw it out.
Working on it. https://github.com/dlang/phobos/pull/8539
Aug 17 2022