You can do that with

(call-with-input-file PATH read-lines)

or

(read-lines "my-file.txt")

The latter comes from this page
http://wiki.call-cc.org/chicken-for-python-programmers
which documents a few down-and-dirty idioms.

Kevin

_______________________________________________
Chicken-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to