dead-claudia / lifted-pipeline-proposal

Proposal for lifted pipelines
35 stars 2 forks source link

The `Function.lift` feels a little too kludgy... #4

Closed dead-claudia closed 6 years ago

dead-claudia commented 6 years ago

Specifically, it:

  1. is too magical. It both does @@lift, propagates null/undefined, and calls the function if @@lift doesn't exist.
  2. doesn't feel very native. As a function, it could become a little verbose in pipelines, and starts to not show its value as much.

Instead, if we started with a @@map and a Function.map, that might be a better starting point. (Also, that section would need expanded in a different file.)

dead-claudia commented 6 years ago

Fixed