--
-- Lazily builds the index with the line numbers while reading the file
-- making it possible to rewind to them quickly later.
+--
+-- The indices are stored using a list, with a fixed length capacity, and 'Data.Array'.
+-- Each new element is added to the list and when the capacity is reached, the list items get flushed
+-- to the array for faster access. The list's capacity can be configured using 'mkLineIndexedCursorWithCapacity'.
-----------------------------------------------------------------------------
module System.IO.LineIndexedCursor