https://github.com/vegansk/nimfp
Nim functional programming library
https://github.com/vegansk/nimfp
Last synced: 8 months ago
JSON representation
Nim functional programming library
- Host: GitHub
- URL: https://github.com/vegansk/nimfp
- Owner: vegansk
- License: mit
- Created: 2015-07-29T07:31:38.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2024-06-19T04:17:32.000Z (over 1 year ago)
- Last Synced: 2025-01-24T22:29:10.135Z (10 months ago)
- Language: Nim
- Size: 150 KB
- Stars: 135
- Watchers: 5
- Forks: 9
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-nim - nimfp - Nim functional programming library. (Language Features / Functional Programming)
README
# nimfp [](https://github.com/yglukhov/nimble-tag)
[](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.