DependentTypes icon indicating copy to clipboard operation
DependentTypes copied to clipboard

Unify two dependent types

Open jackfoxy opened this issue 5 years ago • 0 comments
trafficstars

With my skill set and knowledge I have been unable to unify the two types of dependent type in this project into a single type, with the constraint the SomeDependentType continues to lift option up to SomeDependentType.

The only path I can think of is to make a two entry discriminated union. And since both dependent types expose essentially the same API you would think there must be a way to make this work.

My experience was I would run into issue "A". Correcting for issue "A" I ran into Issue "B"...and back to "A".

jackfoxy avatar Feb 15 '20 19:02 jackfoxy