dmwit / universe

Classes for types where we know all the values
BSD 3-Clause "New" or "Revised" License
37 stars 17 forks source link

Add universe-template #32

Closed ryantrinkle closed 5 years ago

ryantrinkle commented 6 years ago

I added a template here to derive instances for Universe (Some F) (Some being from dependent-sum:Data.Some), where F :: k -> *. As far as I know, it's not possible to do this with generics.

I'm happy to keep this as a separate library if you prefer, but I figured I'd offer it here first.

dmwit commented 5 years ago

Sure, why not.

ryantrinkle commented 5 years ago

Awesome; thanks!