VinylRecords / Vinyl

Extensible Records for Haskell. Pull requests welcome! Come visit us on #vinyl on freenode.
http://hackage.haskell.org/package/vinyl
MIT License
260 stars 49 forks source link

Split out rcurry and rcurry' into different typeclasses #131

Closed mstksg closed 4 years ago

mstksg commented 4 years ago

In the previous version, rcurry and rcurry' were mixed into a single typeclass. The unfortunate consequence is that rcurry can no longer be poly-kinded in the type of its list items, since being able to implement rcurry' requires ts :: [Type].

This change will allow a poly-kinded rcurry that can take lists with items of any kind.

acowley commented 4 years ago

Good thinking. Thank you!