Commit graph

5 commits

Author SHA1 Message Date
dcbc2208c3
chore(actions) + refactor(lint): include linting in workflow
Also fixes various lint warnings/errors by selene.
2024-04-26 11:30:49 +05:30
fb97755cad
docs + refactor: document all of Result module & minor refactors/fixes
* Include moonwave doc comments for `Result`
* Renamed `Option:getInner` to `Option:unwrapUnchecked`
* Updated both `Option.__eq` and `Result.__eq` to support tables
* Replaced nil returns in types with unit type
* Make unimplemented methods throw an error
* Rename `Result.exceptErr` to `Result.expectErr`
* Add missing return type in `Result.unwrapOrElse`
2024-04-26 10:55:22 +05:30
ef451dace6
feat: finalize Option & Result implementations 2024-04-01 16:01:05 +05:30
f380daf7b2
feat: changes to formatting metamethods and examples 2024-04-01 12:05:59 +05:30
538fd90b0c
feat: initial Result and barebones Option implementation 2024-04-01 11:37:43 +05:30