/usr/share/mozart/doc/apptut/chat-server.oz is in mozart-doc 1.4.0-8ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | functor
import
Application(getCmdArgs) Connection(gate) Pickle(save)
define
Args = {Application.getCmdArgs
record(ticketfile(single type:string optional:false))}
NewsPort
local Ticket in
{New Connection.gate init(NewsPort Ticket) _}
{Pickle.save Ticket Args.ticketfile}
end
{List.forAllTail {Port.new $ NewsPort}
proc {$ H|T}
case H of connect(Messages) then Messages=T else skip end
end}
end
|