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\nfn foo() {\n  when bar is {\n    Bar { a, b, c } -> Void\n    Bar { a, .. } -> Void\n    Bar { .. } -> Void\n    Bar(a, b, c) -> Void\n    Bar(..) -> Void\n  }\n}\n"
---
fn foo() {
  when bar is {
    Bar { a, b, c } -> Void
    Bar { a, .. } -> Void
    Bar { .. } -> Void
    Bar(a, b, c) -> Void
    Bar(..) -> Void
  }
}