|
From: | Matt Welland |
Subject: | Re: [Chicken-users] Unit ports documentation needs an example or two for non-gods |
Date: | Wed, 23 May 2012 20:02:09 -0700 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |