true-myth / true-myth-csharp

A library for safer optional programming in C♯.
https://true-myth.github.io/true-myth-csharp
MIT License
4 stars 1 forks source link

Finish implementing Maybe #1

Closed chriskrycho closed 5 years ago

chriskrycho commented 6 years ago

Here's the reference implementation in TypeScript.

Functions and methods to implement:

Notes

On curried methods

It's certainly not difficult to supply overloads of the functions for a "functional" style—but it's also not especially idiomatic in C♯ from everything I've seen, so the value proposition seems lower. If folks want it, my thought is we can add them in e.g. a 1.1 release—but I'm happy to help get them shipped if it turns out people do really want them!

aggieben commented 5 years ago

Closing this in favor of #19.