11 lines
236 B
Plaintext
11 lines
236 B
Plaintext
# Automatically generated; edit in Sphinx source code, not here.
|
|
module Test;
|
|
|
|
type Bar = unit(a: string) {
|
|
x: uint8 { print "%s: %u" % (a, self.x); }
|
|
};
|
|
|
|
public type Foo = unit {
|
|
y: Bar("Spicy");
|
|
on %done { print self; }
|
|
}; |