
* Add hole expressions * Fix the issue of unreported holes * Add tests * New line in the end of the test file * Update CHANGELOG * Add hole expression to the docs * Do not treat hole as a special type * Update docs * Update docs/sophia_features.md Co-authored-by: Radosław Rowicki <35342116+radrow@users.noreply.github.com> Co-authored-by: Radosław Rowicki <35342116+radrow@users.noreply.github.com>
14 lines
279 B
Plaintext
14 lines
279 B
Plaintext
include "List.aes"
|
|
|
|
contract C =
|
|
entrypoint f() =
|
|
let ??? = true
|
|
let v = ???
|
|
let q = v == "str"
|
|
let xs = [1, 2, 3, 4]
|
|
switch (List.first(List.map(???, xs)))
|
|
Some(x) => x + 1
|
|
None => 0
|
|
|
|
function g() = ???
|