luau-match
v1.0.0
Published
A `Match` implementation.
Downloads
2
Readme
Match
An implementation of Pattern Matching.
Example
A code example that works with luau-result:
Match(Result.Ok(10), {
Ok = function()
print("success!")
end,
Err = function()
print("failure!")
end
})