purescript-deprecated / purescript-arrows

Deprecated library for the Arrow type class
5 stars 2 forks source link

Remove arr #5

Closed paf31 closed 9 years ago

paf31 commented 9 years ago

@garyb @joneshf What do you think? This could move to profunctors, which would make Arrow just:

class (Category a, Strong a) <= Arrow a
paf31 commented 9 years ago

I'm trying to figure out what I want to change before making a major release ...

garyb commented 9 years ago

What would the arr-in-profunctors look like?

paf31 commented 9 years ago

arr f = rmap f id = lmap f id

garyb commented 9 years ago

Oh ok, cool, yeah :) is there a better/alternative name than arr or do you think we just stick with that?

paf31 commented 9 years ago

Hmm, I guess arr is sort of standard, but it's not very good. pure would be nice, but it's taken :)