aiken-lang 1.1.19

Cardano smart contract language and toolchain
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
---
source: crates/aiken-lang/src/tests/format.rs
description: "Code:\n\npub fn foo(a) {\n  if a is Some(x): Option<Int> { 14 } else if b is Foo { b } else { 42 }\n  }\n"
---
pub fn foo(a) {
  if a is Some(x): Option<Int> {
    14
  } else if b is Foo {
    b
  } else {
    42
  }
}