JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 57
  • Score
    100M100P100Q70107F
  • License Apache-2.0

Sub-package of Funfix defining type classes inspired by Haskell's standard library

Package Exports

  • funfix-types

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (funfix-types) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

funfix-types

Join chat npm

Sub-project of Funfix exposing type classes inspired by Haskell's standard library and by Typelevel Cats.

Documentation

Links:

Usage

You can depend on the whole funfix library, by adding it to package.json:

npm install --save funfix

In this case imports are like:

import { Monad } from "funfix"

Or for finer grained dependency management, the project can depend only on funfix-types:

npm install --save funfix-types

In this case imports are like:

import { Monad } from "funfix-types"

Modules: UMD and ES 2015

The library has been compiled using UMD (Universal Module Definition), so it should work with CommonJS and AMD.

But it also provides a module definition in package.json, thus providing compatibility with ECMAScript 2015 modules, for usage when used with a modern JS engine, or when bundling with a tool chain that understands ES2015 modules, like Rollup or Webpack.

License

Licensed under the Apache License, Version 2.0.