mirror of
https://github.com/roc-lang/roc.git
synced 2025-07-07 14:44:59 +00:00
11 lines
389 B
Text
11 lines
389 B
Text
List with 2 elements, both incompatible:
|
|
[1, "hello"]
|
|
→ "The two elements in this list have incompatible types"
|
|
|
|
List with 3+ elements, first two incompatible:
|
|
[1, "hello", 3.14]
|
|
→ "The first two elements in this list have incompatible types"
|
|
|
|
List with 3+ elements, later elements incompatible:
|
|
[1, 2, "hello"]
|
|
→ "The second and third elements in this list have incompatible types"
|