Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail-fast curried functions #4

Closed
22 tasks done
Avaq opened this issue Mar 23, 2016 · 0 comments · Fixed by #66 or #69
Closed
22 tasks done

Fail-fast curried functions #4

Avaq opened this issue Mar 23, 2016 · 0 comments · Fixed by #66 or #69

Comments

@Avaq
Copy link
Member

Avaq commented Mar 23, 2016

Fail as soon as the invalid argument is provided to the curried function.

  • ap
  • map
  • bimap
  • chain
  • and
  • rejectAfter
  • chainRej
  • mapRej
  • swap
  • fork
  • race
  • or
  • fold
  • hook
  • finally
  • after
  • cast
  • encase
  • encase2
  • encase3
  • parallel
  • value
Avaq added a commit that referenced this issue Oct 26, 2016
Avaq added a commit that referenced this issue Jan 30, 2017
Finally closes #4 and fixes a bug where Future.bimap would throw
a TypeError when given exactly two valid arguments.
@Avaq Avaq closed this as completed in #66 Jan 31, 2017
@Avaq Avaq reopened this Feb 8, 2017
Avaq added a commit that referenced this issue Feb 8, 2017
Avaq added a commit that referenced this issue Feb 13, 2017
@Avaq Avaq closed this as completed in #69 Feb 13, 2017
Avaq added a commit that referenced this issue Feb 23, 2017
Breaking changes

- #74 The argument order of `Future.or()` has been flipped
- #75 `Future.isForkable()` has been removed
- #75 `Future.fromForkable()` has been removed
- #75 `Future.cast()` has been removed

New features

- #70 Add a new ConcurrentFuture type

Bug fixes and improvements

- #4 #69 All curried functions now fail fast
- #59 Update Sanctuary interoperability
- #73 `Future.finally()` now runs `finally` computation when cancelled
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant