Skip to content

Naive minimalistic functional programming library

Notifications You must be signed in to change notification settings

mickvangelderen/funko

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Usage guide

This guide is for people who want to use funko.

Other guides:

Install

npm install funko

Usage

import pipe from 'funko/lib/pipe'

const doMath = pipe([
    x => 4*x,
    x => 2 + x,
])

doMath(10) // 42

Q&A

Q: There are people who know more of functional programming and create better libraries than you, why did you create funko?

A: As a beginner I got lost in the large number of functions that exist in these libraries. I just wanted to know what functions are most important when starting out with functional programming. Another problem I faced was that the implementation of these libraries can sometimes be difficult to read and understand. As a result, funko exposes a relatively small set of functions and monads and its implementation is as easy to understand as I could make it.

Thanks

Thank you:

About

Naive minimalistic functional programming library

Resources

Stars

Watchers

Forks

Packages

No packages published