Skip to content
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
benchmarks
example refactor(example): add source-map-support to the package May 11, 2019
src
test
type-test
.gitignore
.npmignore
.prettierrc
.travis.yml
.yo-rc.json
GETTING_STARTED.md
README.md
index.ts
package.json
test.ts feat(chain): chain operator is now stack safe May 11, 2019
tsconfig.json
tslint.json
typedoc.json
yarn.lock

README.md

Fearless IO

Build Status npm

A type-safe functional module that solves practical IO problems on node and the browser.

Index

Installation

npm i fearless-io

Usage

import {IO, defaultRuntime} from 'fearless-io'

// Create a pure version of `console.log` called `putStrLn`
const putStrLn = IO.encase((str: string) => console.log(str))

const hello = putStrLn('Hello World!')

const runtime = defaultRuntime()
runtime.execute(hello)
You can’t perform that action at this time.