Socket
Socket
Sign inDemoInstall

@typed-f/applicative

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@typed-f/applicative

[![NPM Version][applicative-npm-version-badge]][applicative-npm] [repo-circleci-badge]: https://img.shields.io/circleci/project/github/Ailrun/typed-f/master.svg?logo=circleci [![Known Vulnerabilities][applicative-snyk-badge]][applicative-snyk] [![Supporte


Version published
Weekly downloads
324
increased by68.75%
Maintainers
1
Weekly downloads
 
Created
Source

@typed-f/applicative

NPM Version repo-circleci-badge: https://img.shields.io/circleci/project/github/Ailrun/typed-f/master.svg?logo=circleci Known Vulnerabilities Supported TypeScript Version PRs Welcome

Watch on GitHub Star on GitHub

Applicative implementation for Typed-F

Installation

End user could install this as a dev dependency like

npm install --save-dev @typed-f/applicative
# or
npm i -D @typed-f/applicative

TS library authors should install this as a dependency (not a dev dependency)

# for NPM>=5
npm install @typed-f/applicative
# or
npm i @typed-f/applicative
# for NPM<5
npm install --save @typed-f/applicative
# or
npm i -S @typed-f/applicative

Description

This package includes type definition for applicative type class, which includes

  • unit<T>(value: T): Applicative<T>
  • of: typeof unit
  • ap<T, U>(this: Applicative<T>, wf: Applicative<Fun<[T], U>>): Applicative<U>

(Above type definitions are not accurate one. In here, accurate types are modified for easier understanding.)

For example applicative, see @typed-f/maybe

Keywords

FAQs

Package last updated on 20 Mar 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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