Skip to content

ORusak/monad-sequence

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

Status: documentation.

Pattern functional programming monad sequence. Monad provide description and execute chain operation contain same function.

Monad wrap promise chain control and extend it opportunities execute.

Introduction

$ npm install monad-sequence-promise

Why

  • Abstracting and hiding sequence execution mechanisms;
  • Control executive sequence;
  • Control calls service functions: defined, arguments, returning value;
  • Transfer the extended number of parameters between service functions;
  • Mixin additional functionality without changing the service functions, keeping them clean;
  • Debugging execution sequence through logging.

Usage Patterns

  • Sequence sequence shares by operation. Operation group calculation which result need next operation.
  • Operation shares by action. Action - service function usually pure.

Example usage, temporal, look unit test.

API

Monad

ERROR, Cannot find module.

Operations

Roadmap

  • Documentation

Releases

No releases published

Packages

No packages published