minor cleanup

db4
Doug Coleman 2009-01-30 19:24:35 -06:00
parent f1a1760e6e
commit 9c2a476d98
1 changed files with 1 additions and 5 deletions

View File

@ -51,12 +51,8 @@ DEFER: quoted-field ( -- endchar )
: row ( -- eof? array[string] )
[ (row) ] { } make ;
: append-if-row-not-empty ( row -- )
dup { "" } = [ drop ] [ , ] if ;
: (csv) ( -- )
row append-if-row-not-empty
[ (csv) ] when ;
row harvest [ , ] unless-empty [ (csv) ] when ;
PRIVATE>