doc: add sample package file tree
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
package std.io
|
||||
|
||||
protocol StreamReader
|
||||
- get:buf
|
||||
end
|
||||
@@ -0,0 +1,7 @@
|
||||
package std.io
|
||||
|
||||
protocol StreamWriter
|
||||
- flush
|
||||
- print:msg
|
||||
- put:msg
|
||||
end
|
||||
@@ -0,0 +1,5 @@
|
||||
package std.io
|
||||
|
||||
cin = StreamReader new
|
||||
cout = StreamWriter new
|
||||
cerr = StreamWriter new
|
||||
Reference in New Issue
Block a user