From f772276fb6234e070d2377ad2afb648a49548321 Mon Sep 17 00:00:00 2001 From: Gaith Hallak Date: Sun, 8 Jan 2023 10:48:01 +0300 Subject: [PATCH] Add hole expression to the docs --- docs/sophia_syntax.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/sophia_syntax.md b/docs/sophia_syntax.md index abae005..e57cc84 100644 --- a/docs/sophia_syntax.md +++ b/docs/sophia_syntax.md @@ -238,6 +238,7 @@ Expr ::= '(' LamArgs ')' '=>' Block(Stmt) // Anonymous function (x) => x + | Int | Bytes | String | Char // Literals 123, 0xff, #00abc123, "foo", '%' | AccountAddress | ContractAddress // Chain identifiers | OracleAddress | OracleQueryId // Chain identifiers + | '???' // Hole expression 1 + ??? Generator ::= Pattern '<-' Expr // Generator | 'if' '(' Expr ')' // Guard