Efficient way to perform independent processing of list from IO?

Marcin 'Qrczak' Kowalczyk qrczak@knm.org.pl
29 Aug 2001 19:46:48 GMT

Wed, 29 Aug 2001 12:07:47 -0600, mctague@one.net <mctague@one.net> pisze:

> 	 return (read string)

> but with this approach, all the data are read before they are written,

read is the problem. It wants to see if the whole string can be parsed
before deciding whether to deliver a result or signal error.

It can be solved by manually splitting the input (e.g. on commas,
stripping also initial '[' and final ']') and reading each part

 __("<  Marcin Kowalczyk * qrczak@knm.org.pl http://qrczak.ids.net.pl/
  ^^                      SYGNATURA ZASTĘPCZA