File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -595,9 +595,7 @@ All uses of ambiguous functions must use the SMT-LIB syntax `as`,
595595which expects the symbol to annotate and the return type of that instance.
596596Above, ` (as set.empty (Set Int)) ` refers to the instance of ` set.empty ` that has type ` (Set Int) ` .
597597
598- The type of all ambiguous functions is automatically extended with an opaque type argument.
599-
600- > __ Note:__ Internally, type of all ambiguous functions is automatically extended with an opaque type argument.
598+ > __ Note:__ Internally, the type of all ambiguous functions is automatically extended with an opaque type argument.
601599 In the above example, `set.empty` is internally defined to be of type `(-> (Quote (Set T)) (Set T))`.
602600 Ethos interprets ` (as set.empty (Set Int)) ` as ` (_ set.empty (Set Int)) ` , where this is an "opaque" application (see [ opaque] ( #opaque ) ).
603601Conceptually, this means that ` (_ set.empty (Set Int)) ` is a constant symbol (with no children) that is indexed by its type.
You can’t perform that action at this time.
0 commit comments