- Semantic usefulness in different applicative contexts such as:
List,Maybe,Signal,Random,Promise,Parser - Readability in different applicative contexts
- Name clashes
- Semantic hints at sequential notion
- Relatedness to
andThenandmap - Signal to noise ratio of the name (e.g. how much semantic is conveyed wrt the length of the name)
Pros:
- works well used together with
map(fn `map` this `andMap` that) - hides sequential notion which is actually good for when it isn't relevant
Cons:
- hides sequential notion so may not be suitable for
ParserandPromises
Pros:
- blends quite well with
List,Maybe,Signal,Random, especiallyParser.Promiseis OK, too - does not clash with any function I know of
- resembles
andThenfrom the PoV of nomenclature, combines well withmap - suggests sequential execution, though not as clear as
andThen
Cons:
- suggests sequential execution, though not as clear as
andThen - the "also" part doesn't add any significant meaning
Not sure how forking works on gists but here is my fork with edits: https://gist.github.com/kasbah/2784affbaeba9be89769