diff options
author | Vladimir Azarov <avm@intermediate-node.net> | 2025-03-25 00:24:52 +0100 |
---|---|---|
committer | Vladimir Azarov <avm@intermediate-node.net> | 2025-03-25 00:24:52 +0100 |
commit | a0be166ef23e1b34b09060b99c03cdadb6ac2132 (patch) | |
tree | 3a54e586b504c6ad4fcb5b620c0ddcead5219ae6 /stream.sig | |
parent | 226f58656b4b7f92f6de9a817ab9106937e061e9 (diff) |
Escape sequences
Diffstat (limited to 'stream.sig')
-rw-r--r-- | stream.sig | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -7,7 +7,7 @@ signature STREAM = sig type t type fileInfo - val recycle: t -> fileInfo + val convert: t -> fileInfo val ppos2str: ppos -> string val printPos: fileInfo -> pos -> unit @@ -18,10 +18,9 @@ signature STREAM = sig * Can be always avoided, so is not provided in sig file *) val ungetc: t -> t - val getOffset: t -> fileOffset val getPos: t -> pos val getPosAfterCharRead: t -> pos - val getPposFromPos: pos -> t -> ppos + val pos2ppos: pos -> t -> ppos (* Assumed to be called once for given pos, so will throw Unreachable on * second call *) |