Skip to content

Instantly share code, notes, and snippets.

@noondreams
Created March 3, 2014 22:28
Show Gist options
  • Save noondreams/9335984 to your computer and use it in GitHub Desktop.
Save noondreams/9335984 to your computer and use it in GitHub Desktop.
For example, it is not uncommon for modules to provide their own
array-like collection objects, with their own interface for extracting elements
from such an object, and return those from functions that return collections
of things. Such objects cannot be passed to map or forEach. This is a case of
bad composability, since the module cannot be easily composed with algo-
rithms operating on arrays.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment