fp-ts-managed
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -73,2 +73,5 @@ import { IO } from 'fp-ts/lib/IO'; | ||
export declare const unManaged: <R, A>(ma: Managed<R, A>) => (f: (a: A) => IO<R>) => IO<R>; | ||
/** | ||
* @since 0.0.1 | ||
*/ | ||
export declare const runManaged: <A>(ma: Managed<void, A>) => IO<void>; | ||
@@ -75,0 +78,0 @@ /** |
@@ -74,2 +74,5 @@ "use strict"; | ||
exports.unManaged = exports.with_; | ||
/** | ||
* @since 0.0.1 | ||
*/ | ||
exports.runManaged = function (ma) { | ||
@@ -76,0 +79,0 @@ return newtype_ts_1.iso().unwrap(ma)(IO_1.io.of); |
{ | ||
"name": "fp-ts-managed", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "A partial port of Haskell-Managed-Library for fp-ts", | ||
@@ -5,0 +5,0 @@ "files": [ |
# A partial port of [Haskell-Managed-Library](https://github.com/Gabriel439/Haskell-Managed-Library) for [fp-ts](https://github.com/gcanti/fp-ts) | ||
## WIP | ||
Install with `npm install fp-ts-managed` or `yarn add fp-ts-managed` |
Sorry, the diff of this file is not supported yet
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
15166
278
5