mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
Update a comment
This commit is contained in:
parent
69f6d8e99a
commit
ef030ae656
1 changed files with 1 additions and 1 deletions
|
@ -226,7 +226,7 @@ map_symbol_to_lowlevel_and_arity! {
|
||||||
/// Some builtins cannot be constructed in code gen alone, and need to be defined
|
/// Some builtins cannot be constructed in code gen alone, and need to be defined
|
||||||
/// as separate Roc defs. For example, List.get has this type:
|
/// as separate Roc defs. For example, List.get has this type:
|
||||||
///
|
///
|
||||||
/// List.get : List elem, Nat -> Result elem [OutOfBounds]*
|
/// List.get : List elem, U64 -> Result elem [OutOfBounds]*
|
||||||
///
|
///
|
||||||
/// Because this returns an open tag union for its Err type, it's not possible
|
/// Because this returns an open tag union for its Err type, it's not possible
|
||||||
/// for code gen to return a hardcoded value for OutOfBounds. For example,
|
/// for code gen to return a hardcoded value for OutOfBounds. For example,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue