mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 23:31:12 +00:00
| -> where
This commit is contained in:
parent
fd846b9a7a
commit
cb08225bf0
117 changed files with 637 additions and 612 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 implements Decode` constraint as needed.
|
||||
// instead recurse here, and add a `t ~ u where 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 implements EncoderFormatting
|
||||
// Encoder fmt <a> : List U8, fmt -a-> List U8 where 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