Open
Description
from
is unsafe (not soundly typed), but not marked as such- So is
fromWithMap
. It's also misleadingly named, suggesting it takes aMap
data structure as an additional argument, when in fact it wants a map function. The latter goes for all*WithMap
functions, but I won't repeat myself for every one of them. A better naming scheme for these might bemapFrom*
? *WithIndex
is a really common and quite verbose pattern. I would suggest special casing this and use just ani
suffix for this, e.g.mapi
instead ofmapWithIndex
. I think it's common enough that this makes sense.indexOfFrom
andlastIndexOfFrom
are not very intuitively named. PerhapsindexOfStartingFrom
would be better?getSymbol
seems like it would return a symbol, rather than what is pointed to by a symbol.getBySymbol
andsetBySymbol
might be better names.
Metadata
Metadata
Assignees
Labels
No labels