[gambit-list] Good way to slurp in gambit

Marc Feeley feeley at iro.umontreal.ca
Tue Mar 20 08:38:59 EDT 2018


For a text file you can do:

(call-with-input-file "file" (lambda (port) (read-line port #f))

Marc



> On Mar 19, 2018, at 10:17 PM, C K Kashyap <ckkashyap at gmail.com> wrote:
> 
> Hi,
> Could someone please tell me whats the gambit way to "slurp" a file?
> Regards,
> Kashyap
> _______________________________________________
> Gambit-list mailing list
> Gambit-list at iro.umontreal.ca
> https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list




More information about the Gambit-list mailing list