Import Upstream version 20180207
[hcoop/debian/mlton.git] / lib / mlton / basic / lines.sig
CommitLineData
7f918cf1
CE
1(* Copyright (C) 2009 Matthew Fluet.
2 * Copyright (C) 1999-2005, 2008 Henry Cejtin, Matthew Fluet, Suresh
3 * Jagannathan, and Stephen Weeks.
4 *
5 * MLton is released under a BSD-style license.
6 * See the file MLton-LICENSE for details.
7 *)
8
9signature LINES =
10 sig
11 (* Print out starting at line start and dropping the last lines. *)
12 val dropLast: In.t * Out.t * {start: int, last: int} -> unit
13 (* Print out lines start through stop. *)
14 val startStop: In.t * Out.t * {start: int, stop: int} -> unit
15 end