@sweet-monads/interfaces
Advanced tools
Comparing version 1.0.1 to 1.1.0
export interface Functor<T> { | ||
map<R>(f: (a: T) => R): Functor<R>; | ||
map<R>(f: (a: T) => R): Functor<R>; | ||
asyncMap<R>(f: (a: T) => Promise<R>): Promise<Functor<R>>; | ||
} |
@@ -5,2 +5,4 @@ import { Applicative, ApplicativeConstructor } from "./applicative"; | ||
chain<B>(f: (a: T) => Monad<B>): Monad<B>; | ||
asyncChain<B>(f: (a: T) => Promise<Monad<B>>): Promise<Monad<B>>; | ||
join<I>(this: Monad<Monad<I>>): Monad<I>; | ||
} | ||
@@ -7,0 +9,0 @@ |
{ | ||
"name": "@sweet-monads/interfaces", | ||
"version": "1.0.1", | ||
"version": "1.1.0", | ||
"description": "Monad interfaces", | ||
"main": "index.js", | ||
"types": "index.d.ts", | ||
"homepage": "https://github.com/JSMonk/sweet-monads/tree/master/interfaces", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/JSMonk/sweet-monads/tree/master/interfaces" | ||
}, | ||
"scripts": {}, | ||
@@ -13,0 +8,0 @@ "author": "", |
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
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
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
22
6613
1
1