Skip to content

document delayed #17

Description

@shashi

Just to think over what would happen if users start to use delayed a la carte:

  1. mapvalues -- returning delayed(f)(x) is completely OK. The chaining of lazy values should work as expected. Calling delayed functions with other values which may themselves be delayed is OK. But calling it with say an array of delayed values is not.
  2. mapsubtrees -- returning delayed(f)(x) will work but not when f(x) is a FileTree. However, a FileTree with delayed values is OK.
  3. reducevalues -- seems fine again. as in 1.

cc @DrChainsaw

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions