You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Naming is a bit of an issue, since this is primarily a list traversal, so Generator.traverse is pretty misleading. Generator.List.traverse feels backward for the same reason (especially when you consider the existence of List.Option.traverse in the ecosystem). Generator.ListOf makes the backward-ness more clear, but seems cumbersome. Maybe just Generator.listTraverse?
The text was updated successfully, but these errors were encountered:
Just to add a data point, for things that are specialized to list/etc., I've been naming things with whateverAsList and whateverAsArray, so these could be traverseAsList and sequenceAsList - that way, you can find them via auto-suggest, but it's clear they are specialized.
Just want to make a note so I don't forget...
Naming is a bit of an issue, since this is primarily a list traversal, so
Generator.traverse
is pretty misleading.Generator.List.traverse
feels backward for the same reason (especially when you consider the existence ofList.Option.traverse
in the ecosystem).Generator.ListOf
makes the backward-ness more clear, but seems cumbersome. Maybe justGenerator.listTraverse
?The text was updated successfully, but these errors were encountered: