Conversation
|
The name focus comes from, so maybe more correct name would -- (Actually, AffineTraversable, and Traversable1 would be more correct superclasses, if also existed).
class Traversable t => Singleton t where
focus :: Functor f => (a -> f b) -> t a -> f (t b)A name I invented just today, so I'm not (yet) attached to it. https://oleg.fi/gists/posts/2018-05-12-singleton-container.html uses Is there a word for going to an amusement park, with only one decent ride, get on it, and then go home? |
|
Maybe Or |
|
|
|
Sounds good 👍 |
|
@adamgundry are you fine with this? |
adamgundry
left a comment
There was a problem hiding this comment.
Seems fine to me. Sorry for the latency.
|
@adamgundry no worries. As long as you find time to discuss breaking changes, there is no problem delaying things like this. :) |
No description provided.