Skip to content

waseem-medhat/funutils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

funutils

Add functional programming to your Go code

Package funutils includes functions implementing common functional programming concepts and patterns. The name was inspired from an R documentation page named funprog. (I am not the only one who sees the "fun" in the "functional")

The package includes functions like:

  • map
  • filter
  • reduce
  • composition
  • ... and many more

NOTE: This package is a simple collection of utility functions. For a more fleshed out FP implementation, check out fp-go.

Installation

Following the Go proverb "a little copying is better than a little dependency," I encourage you to browse code and if you only need a function or two from here, just copy them into your project.

If you decide you want the whole package, simply use go get in your project directory:

go get github.com/wipdev-tech/funprog

About

Add functional programming to your Go code

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages