mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 15:51:12 +00:00
reimplement Result
This commit is contained in:
parent
410426f059
commit
d1d7cfef44
7 changed files with 155 additions and 6 deletions
|
@ -319,6 +319,7 @@ pub fn aliases() -> MutMap<Symbol, BuiltinAlias> {
|
|||
},
|
||||
);
|
||||
|
||||
/*
|
||||
// Result ok err : [ Ok ok, Err err ]
|
||||
add_alias(
|
||||
Symbol::RESULT_RESULT,
|
||||
|
@ -331,6 +332,7 @@ pub fn aliases() -> MutMap<Symbol, BuiltinAlias> {
|
|||
typ: result_alias_content(flex(TVAR1), flex(TVAR2)),
|
||||
},
|
||||
);
|
||||
*/
|
||||
|
||||
// Utf8ByteProblem : [ InvalidStartByte, UnexpectedEndOfSequence, ExpectedContinuation, OverlongEncoding, CodepointTooLarge, EncodesSurrogateHalf ]
|
||||
add_alias(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue