Source: helpers.goose

SHA-256 100cbfe55de5bd97d228294ce85151afd279a1ccfc7f4662f3bc114950cbe274 · Raw source

1// SPDX-License-Identifier: MIT
2namespace helpers;
3
4// An imported token. Unicode text: café, λ.
5struct Token {
6    // The numeric token code.
7    code: u32,
8}
9
10// Twice the input, from a separately imported source file.
11fn twice(value: i64) -> i64 { value * 2 }