mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-17 10:30:15 +00:00
abilities syntax has
-> implements
This commit is contained in:
parent
91e37293a2
commit
dbc0204532
21 changed files with 89 additions and 84 deletions
|
@ -739,7 +739,7 @@ trait DerivableVisitor {
|
|||
) {
|
||||
// TODO: currently, just we suppose the presence of a flex var may
|
||||
// include more or less things which we can derive. But, we should
|
||||
// instead recurse here, and add a `t ~ u | u has Decode` constraint as needed.
|
||||
// instead recurse here, and add a `t ~ u | u implements Decode` constraint as needed.
|
||||
stack.push(ext);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2510,7 +2510,7 @@ impl AmbientFunctionPolicy {
|
|||
}),
|
||||
Content::FlexVar(_) => {
|
||||
// Something like
|
||||
// Encoder fmt <a> : List U8, fmt -a-> List U8 | fmt has EncoderFormatting
|
||||
// Encoder fmt <a> : List U8, fmt -a-> List U8 | fmt implements EncoderFormatting
|
||||
// THEORY: Replace these with empty lambda sets. They will unify the same as a flex
|
||||
// var does, but allows us to record the ambient function properly.
|
||||
Content::LambdaSet(LambdaSet {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue