Because sometimes, you want a reflected record of proxies to make life easier.
proxies = N.reflectRecordProxy ::
{ apple :: Proxy Int
, banana :: Proxy String
}
You can also create instances of the proxy creation class:
data MyThing a b c d e f g = MyThing
instance myThingReflectProxy :: N.ReflectProxy (MyThing a b c d e f g) where
reflectProxy = MyThing
things = N.reflectRecordProxy ::
{ apple :: MyThing Int Int Int Int Int Int Int
, banana :: MyThing Unit Unit Unit Unit Unit Unit Unit
}
See test/Main.purs