ilyalatt / Telega

C# Telegram MTProto Client
https://ilyalatt.github.io/Telega/
MIT License
58 stars 15 forks source link

Types simplification #30

Closed ilyalatt closed 3 years ago

ilyalatt commented 4 years ago

LanguageExt is heavy and difficult tool for learning. We can simplify things a lot without losing the usability. Arr<T> -> IReadOnlyList<T> (with custom comparator) Some<T> -> T (with C# non-nullable types) Option<T> -> T? (with must-have extensions like Map, Bind, Choose)