purescript/purescript-record

Add map, traverse etc.

paf31 opened this issue · 3 comments

paf31 commented

cc @justinwoo @joneshf

I think it would be interesting to add these for Homogeneous records, once we merge Type.Row.Homogeneous.

FYI @natefaubion, since you and I have discussed having sequence for records.

paf31 commented

We've discussed this before, and I think it belongs in a separate repo. The reason is that there is not just one sensible definition of map for records, and Homogeneous could be the basis of a newtype and an associated list of instances.