|
|
|
@ -2,9 +2,10 @@ guile-csv
|
|
|
|
=========
|
|
|
|
=========
|
|
|
|
|
|
|
|
|
|
|
|
A csv reader for Guile. Forked from [Nala Ginrut's][og-repo] repository of the
|
|
|
|
A csv reader for Guile. Forked from [Nala Ginrut's][og-repo] repository of the
|
|
|
|
same name. I forked simply because I plan on using this code (or some
|
|
|
|
same name. This version of the library is built with the tools available in
|
|
|
|
derivative) and as my needs change so too will the interface. Pushing breaking
|
|
|
|
`(sxml transform)` in mind, if you don't need to run `(pre-post-order)` to clean
|
|
|
|
changes to a 5 year old repository isn't exactly my idea of a good time.
|
|
|
|
your data up, use the original instead.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### install
|
|
|
|
### install
|
|
|
|
|
|
|
|
|
|
|
|
@ -19,7 +20,7 @@ changes to a 5 year old repository isn't exactly my idea of a good time.
|
|
|
|
First get yourself a port out of whatever csv you want to process:
|
|
|
|
First get yourself a port out of whatever csv you want to process:
|
|
|
|
|
|
|
|
|
|
|
|
```scheme
|
|
|
|
```scheme
|
|
|
|
(use-modules (csv csv))
|
|
|
|
(use-modules (csv2 csv))
|
|
|
|
(define $port (open-input-string "a,b\n1,2\n3,4"))
|
|
|
|
(define $port (open-input-string "a,b\n1,2\n3,4"))
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|