Commit fc000f58 authored by Branislav Katreniak's avatar Branislav Katreniak

doc/language: cleanup examples to follow `variable :Type` style

parent 3c226c00
...@@ -316,7 +316,7 @@ interface Node { ...@@ -316,7 +316,7 @@ interface Node {
} }
interface Directory extends(Node) { interface Directory extends(Node) {
list @0 () -> (list: List(Entry)); list @0 () -> (list :List(Entry));
struct Entry { struct Entry {
name @0 :Text; name @0 :Text;
node @1 :Node; node @1 :Node;
...@@ -330,9 +330,9 @@ interface Directory extends(Node) { ...@@ -330,9 +330,9 @@ interface Directory extends(Node) {
} }
interface File extends(Node) { interface File extends(Node) {
size @0 () -> (size: UInt64); size @0 () -> (size :UInt64);
read @1 (startAt :UInt64 = 0, amount :UInt64 = 0xffffffffffffffff) read @1 (startAt :UInt64 = 0, amount :UInt64 = 0xffffffffffffffff)
-> (data: Data); -> (data :Data);
# Default params = read entire file. # Default params = read entire file.
write @2 (startAt :UInt64, data :Data); write @2 (startAt :UInt64, data :Data);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment