Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/vegansk/nimfp

Nim functional programming library
https://github.com/vegansk/nimfp

Last synced: 3 months ago
JSON representation

Nim functional programming library

Awesome Lists containing this project

README

        

# nimfp [![nimble](https://raw.githubusercontent.com/yglukhov/nimble-tag/master/nimble.png)](https://github.com/yglukhov/nimble-tag)

[![Build Status](https://travis-ci.org/vegansk/nimfp.svg?branch=master)](https://travis-ci.org/vegansk/nimfp)

Nim functional programming library. Includes:

* Option type [src/fp/option.nim](src/fp/option.nim)
* List type [src/fp/list.nim](src/fp/list.nim)
* Either type [src/fp/either.nim](src/fp/either.nim)
* Map type [src/fp/map.nim](src/fp/map.nim)
* Stream type [src/fp/stream.nim](src/fp/stream.nim)
* Scala like _for comprehension_ and Haskell like _do notation_ support [src/fp/forcomp.nim](src/fp/forcomp.nim)

While there is no documentation, you can see examples in the [tests/fp](tests/fp) directory.