mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 08:34:33 +00:00
refer to Result for data modelling
This commit is contained in:
parent
e02b61c330
commit
e3d9bb098c
1 changed files with 1 additions and 1 deletions
|
@ -445,7 +445,7 @@ optional field, you'll get a compile error.
|
|||
This means it's never possible to end up with an *optional value* that exists
|
||||
outside a record field. Optionality is a concept that exists only in record
|
||||
fields, and it's intended for the use case of config records like this. The
|
||||
ergonomics of destructuring mean this wouldn't be a good fit for data modeling.
|
||||
ergonomics of destructuring mean this wouldn't be a good fit for data modeling, consider using a `Result` type instead.
|
||||
|
||||
## [Tags](#tags) {#tags}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue