New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

fp-ts-contrib

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fp-ts-contrib - npm Package Compare versions

Comparing version 0.1.26 to 0.1.27

es6/ReaderTask.d.ts

10

CHANGELOG.md

@@ -16,2 +16,12 @@ # Changelog

# 0.1.27
- **New Feature**
- `ReaderIO`
- add `asksReaderIO` / `asksReaderIOW`, #91 (@thewilkybarkid)
- `ReaderTaskEither`
- Add `ReaderIO` constructors / combinators, #90 (@thewilkybarkid)
- `ReaderTask`
- Add `ReaderIO` constructors / combinators, #92 (@thewilkybarkid)
# 0.1.26

@@ -18,0 +28,0 @@

@@ -49,2 +49,16 @@ /**

/**
* Less strict version of [`asksReaderIO`](#asksreaderio).
*
* @category combinators
* @since 0.1.27
*/
export declare const asksReaderIOW: <R1, R2, A>(f: (r1: R1) => ReaderIO<R2, A>) => ReaderIO<R1 & R2, A>
/**
* Effectfully accesses the environment.
*
* @category combinators
* @since 0.1.27
*/
export declare const asksReaderIO: <R, A>(f: (r: R) => ReaderIO<R, A>) => ReaderIO<R, A>
/**
* @category Functor

@@ -51,0 +65,0 @@ * @since 0.1.18

@@ -48,2 +48,17 @@ import { identity } from 'fp-ts/es6/function';

export var local = function (f) { return function (ma) { return T.local(ma, f); }; };
/**
* Less strict version of [`asksReaderIO`](#asksreaderio).
*
* @category combinators
* @since 0.1.27
*/
// TODO: use R.asksReaderW when fp-ts version >= 2.11.0
export var asksReaderIOW = function (f) { return function (r) { return f(r)(r); }; };
/**
* Effectfully accesses the environment.
*
* @category combinators
* @since 0.1.27
*/
export var asksReaderIO = asksReaderIOW;
// -------------------------------------------------------------------------------------

@@ -50,0 +65,0 @@ // pipeables

@@ -49,2 +49,16 @@ /**

/**
* Less strict version of [`asksReaderIO`](#asksreaderio).
*
* @category combinators
* @since 0.1.27
*/
export declare const asksReaderIOW: <R1, R2, A>(f: (r1: R1) => ReaderIO<R2, A>) => ReaderIO<R1 & R2, A>
/**
* Effectfully accesses the environment.
*
* @category combinators
* @since 0.1.27
*/
export declare const asksReaderIO: <R, A>(f: (r: R) => ReaderIO<R, A>) => ReaderIO<R, A>
/**
* @category Functor

@@ -51,0 +65,0 @@ * @since 0.1.18

@@ -57,2 +57,17 @@ "use strict";

exports.local = function (f) { return function (ma) { return T.local(ma, f); }; };
/**
* Less strict version of [`asksReaderIO`](#asksreaderio).
*
* @category combinators
* @since 0.1.27
*/
// TODO: use R.asksReaderW when fp-ts version >= 2.11.0
exports.asksReaderIOW = function (f) { return function (r) { return f(r)(r); }; };
/**
* Effectfully accesses the environment.
*
* @category combinators
* @since 0.1.27
*/
exports.asksReaderIO = exports.asksReaderIOW;
// -------------------------------------------------------------------------------------

@@ -59,0 +74,0 @@ // pipeables

2

package.json
{
"name": "fp-ts-contrib",
"version": "0.1.26",
"version": "0.1.27",
"description": "A community driven utility package for fp-ts",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc