$ check
= 0
6 definitions, 1 programs
$ cc app.main
= 0
$ hash app.main
= 0
369cf802ba51ebe3a056165f57d330445a5c3bd865d6bd2447a1de504da0bc9b 6a8219eb37afb9a927ac37fac1eadf8d232ef14bbfa1879d550a9ad2c19902d3 app.main
$ hash scene.Msg
= 0
6bc6861b66c1f411edf726dd30304744baa991ba12e8b72de3448e0698b4be7b 132fce4eab32c46ffbea52574359c4dda1851dfd717ea2e25e1abe600876e92c scene.Msg
$ hash app.Node
= 0
0844f45983b294dcce38b4a583f16a3c19ca7a6c0cfcb8e0aee59a14e04ba657 44bbfd79d170bbf354cbabdbfe34ed398e175f65401032ce9f711a0025c777e5 app.Node
$ full scene.Msg
= 0
-- A message of the protocol: the bytes of a rec, its kind the leading
-- word.
type Msg = arr byte
$ full app.Next
= 0
-- A list of messages: a named type that a rec refers back to through a
-- link, which main does not reach.
type Next = opt link @app.Node
$ full app.Node
= 0
type Node = rec next @app.Next, m @scene.Msg
$ fmt app.Next
= 0
-- A list of messages: a named type that a rec refers back to through a
-- link, which main does not reach.
type Next = opt link Node
$ list scene
= 0
-- The compositor's protocol: its messages are bytes under a name.

type Msg = arr byte  -- A message of the protocol: the bytes of a rec, its kind the leading word.
$ find Msg
= 0
type scene.Msg = arr byte
  app.hello:0
  app.main:1
  app.Node:0
$ show app.hello
= 0
fn hello out wchan scene.Msg, n i32 -> bool = send out (encode Hello { 1, n })

-- A message of the protocol: the bytes of a rec, its kind the leading
-- word.
type scene.Msg = arr byte

type app.Hello = rec kind u32, n i32
