Add literal string constants #19

Merged
glen merged 6 commits from string_literal into main 2021-02-18 04:17:05 +00:00
1 changed files with 7 additions and 4 deletions
Showing only changes of commit 2514f0df98 - Show all commits

View File

@ -139,11 +139,16 @@ hand-defined, as done in "statics/util.stx" like so:
type_OptTermEx(ote) == T,
@l.type := T.
type_Ex : Ex -> TYPE
type_Ex : Ex -> TYPE
type_TermEx : TermEx -> TYPE
type_OptTermEx(ote@Ex2OptTermEx(e)) = T :-
type_Ex(e) == T,
@ote.type :=T.
@ote.type := T.
type_OptTermEx(ote@TermEx2OptTermEx(te)) = T :-
type_TermEx(te) == T,
@ote.type := T.
/** md
@ -171,8 +176,6 @@ constructor was trivial:
```
**/
type_TermEx: TermEx -> TYPE
type_TermEx(te@Terminate(e)) = T :-
type_Ex(e) == T,
@te.type := T.