Skip to content

Bunch of functional programming concepts in a module. Written on purpose of learning how functional programming concepts are built.

License

Notifications You must be signed in to change notification settings

kaskelotti/fn-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

fn-tools

Bunch of functional programming concepts in a module. Written on purpose of learning how functional programming concepts are built. Not optimized in anyway.

For production use, there are better alternatives such as

  • native list functions (map, reduce, etc)
  • a real functional lib like underscore, lodash, ramda, etc

Notes

  • Using String#substring would be faster than String#slice, but here readability matters more
  • any / all go through the whole list even that it could return as soon as the matching criteria is filled

Feature Ideas

  • trampoline
  • zip / unzip
  • Maybe / Option

About

Bunch of functional programming concepts in a module. Written on purpose of learning how functional programming concepts are built.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published