Commit graph

24 commits

Author SHA1 Message Date
edcef2015f
feat: roblox event polyfills
* RobloxEvent as a wrapper around BindableEvents providing the same API
  type as LuauSignal
* Future.poll now returns a Result instead of a force unwrap
2024-05-25 08:05:35 +05:30
c42e4ad3fe
chore: initial rojo + roblox bundling support 2024-05-24 23:30:49 +05:30
317b0cde87
docs: include comments for conversion module & fix options intro hrefs
* Included moonwave doc comments for `Option` <-> `Result` conversion module
* Fixed incorrect href format in `Option` module introduction
2024-04-26 22:16:37 +05:30
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
4c7a4ee0fd
docs(moonwave): include customized moonwave configs 2024-04-16 16:11:23 +05:30
5dfc707b29
fix: credit source for table comparison algorithm 2024-04-15 21:26:38 +05:30
d85faed644
feat(Option): include documentation + minor changes
* Add proper equality checks for tables in metamethod.
* Document all exported functions & classes.
2024-04-15 21:23:51 +05:30
8632d052a9
docs(Future): include moonwave comments 2024-04-15 21:23:51 +05:30
64f73540ed
fix(Future): actually return module 2024-04-14 20:13:34 +05:30
b11ac303ea
fix(Future): dont export Result type 2024-04-14 19:26:05 +05:30
cd10bd86fc
fix(Future): remove lsp warning by removing unused Result object 2024-04-14 19:19:37 +05:30
6f02130e51
chore(Future): include await system and fallible futures 2024-04-14 19:19:08 +05:30
b5ba4d9e38
fix(Future): polling is guaranteed to return generic type T 2024-04-14 19:08:40 +05:30
01229741f6
feat: include initial Future impl 2024-04-14 18:57:48 +05:30
38704d18af
fix: fix warnings by removing unused Result enums 2024-04-02 23:09:54 +05:30
c7bf127222
feat: include initial (WIP) Iter implementation 2024-04-02 23:02:25 +05:30
de25b4d19c
fix: uncomparable metatables TypeError 2024-04-02 23:00:56 +05:30
d5508bc6d0
feat: add equality metamethods 2024-04-01 22:35:55 +05:30
fd5e6973b0
chore(gitattributes): move gitattributes to repository root 2024-04-01 16:03:06 +05:30
ef451dace6
feat: finalize Option & Result implementations 2024-04-01 16:01:05 +05:30
9d78c7edec
chore: include gitattributes for indexing purposes 2024-04-01 12:23:52 +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