Comparing version 0.0.746 to 0.0.747
import { AtomicPromise, Internal, internal } from './promise'; | ||
import { Maybe, Just, Nothing } from './monad/maybe'; | ||
import { Either, Left, Right } from './monad/either'; | ||
import { Maybe, Just, Nothing } from './maybe'; | ||
import { Either, Left, Right } from './either'; | ||
import { noop } from './function'; | ||
@@ -5,0 +5,0 @@ import { causeAsyncException } from './exception'; |
@@ -42,3 +42,3 @@ import { shift } from './array'; | ||
return xs.length < arity | ||
? (...ys: unknown[]) => curry_(g ??= xs.length && f.bind(undefined, ...xs) || f, arity - xs.length, ...ys) | ||
? (...ys: unknown[]) => curry_(g ??= xs.length ? f.bind(undefined, ...xs) : f, arity - xs.length, ...ys) | ||
: f(...xs); | ||
@@ -45,0 +45,0 @@ } |
{ | ||
"name": "spica", | ||
"version": "0.0.746", | ||
"version": "0.0.747", | ||
"description": "Supervisor, Coroutine, Channel, select, AtomicPromise, Cancellation, Cache, List, Queue, Stack, and some utils.", | ||
@@ -5,0 +5,0 @@ "private": false, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
617664