ltcc: parsing of double quoted strings

use double quotes in examples
This commit is contained in:
Michael Sippel 2024-09-29 22:20:10 +02:00
parent f5984e0b08
commit 08f592ad60
Signed by: senvas
GPG key ID: F96CF119C34B64A6
6 changed files with 78 additions and 23 deletions
lt-stdlib

View file

@ -16,19 +16,3 @@ export {
let int-max = λ{ a:~machine.Int64; b:~machine.Int64; } ↦ if( int-gt a b ) { a; } else { b; };
};
/* syntax ambiguity */
let f'0 = λx:A -> B ↦ { ... };
/* could be interpreted as .. */
let f'1 = λ{x: A -> B} ↦ {};
/* ..or.. */
let f'2 = λx:A ↦ B:{};
do {
!a 10;
!b 20;
}