factor-tutorial
factor-tutorial copied to clipboard
Mistake with `file-lines`
You write about file-lines that it "lazily iterates over lines". That is not true: file-lines is not lazy, it reads the entire file and creates the array of lines as soon as you call it.
For example, "license.txt" utf8 file-lines will return an array of all lines in the "license.txt" file, not some substitute object you could lazily retrieve data from.
Maybe they meant to say each-file-line or something.
Do we have each-file-line? The help browser couldn't find it...