1 ! Copyright (C) 2007 Daniel Ehrenberg
2 ! See http://factorcode.org/license.txt for BSD license.
3 USING: delegate sequences.private sequences assocs
4 prettyprint.sections io definitions kernel continuations
8 PROTOCOL: sequence-protocol
9 clone clone-like like new-sequence new-resizable nth
10 nth-unsafe set-nth set-nth-unsafe length set-length
13 PROTOCOL: assoc-protocol
14 at* assoc-size >alist set-at assoc-clone-like
15 delete-at clear-assoc new-assoc assoc-like ;
17 PROTOCOL: input-stream-protocol
18 stream-read1 stream-read stream-read-partial stream-readln
19 stream-read-until stream-read-quot ;
21 PROTOCOL: output-stream-protocol
22 stream-flush stream-write1 stream-write stream-format
23 stream-nl make-span-stream make-block-stream
24 make-cell-stream stream-write-table ;
26 PROTOCOL: definition-protocol
27 where set-where forget uses
28 synopsis* definer definition ;