nessos / Eff

A library design for programming with effects and handlers in C#
MIT License
128 stars 13 forks source link

Put all of console effect example in one file #33

Closed atifaziz closed 3 months ago

atifaziz commented 3 months ago

Like the Eff.Examples.Resumable example, this PR proposes to put all of Eff.Examples.Console into a single Program.cs file. It makes a simple example with few types and logic simpler to read and understand top-bottom instead of having to jump between multiple files.

atifaziz commented 3 months ago

so it's nice to have those ported to the new style 👍

Thanks for merging. I can continue to address some more examples as I visit them and it makes sense, especially for the simple ones (or shall we shoot for all?).

eiriktsarpalis commented 3 months ago

Sure, go for it at your own convenience.