vegansk / nimfp

Nim functional programming library
MIT License
135 stars 9 forks source link

Implement ``yield`` in do notation #7

Closed vegansk closed 7 years ago

vegansk commented 7 years ago

For now we must explicitly create container type as a return value because of using flatMap. We can implement yield statement so it'll be use map as the last function.