-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
fromis unsafe (not soundly typed), but not marked as such- So is
fromWithMap. It's also misleadingly named, suggesting it takes aMapdata structure as an additional argument, when in fact it wants a map function. The latter goes for all*WithMapfunctions, but I won't repeat myself for every one of them. A better naming scheme for these might bemapFrom*? *WithIndexis a really common and quite verbose pattern. I would suggest special casing this and use just anisuffix for this, e.g.mapiinstead ofmapWithIndex. I think it's common enough that this makes sense.indexOfFromandlastIndexOfFromare not very intuitively named. PerhapsindexOfStartingFromwould be better?getSymbolseems like it would return a symbol, rather than what is pointed to by a symbol.getBySymbolandsetBySymbolmight be better names.
Metadata
Metadata
Assignees
Labels
No labels