Rename top level import

master
Brady McDonough 2 months ago
parent 0b20cd4903
commit 86db681bec

@ -5,14 +5,14 @@ OBJ := csv.go
.PHONY: all clean install uninstall .PHONY: all clean install uninstall
all: $(OBJ) all: $(OBJ)
%.go: csv/%.scm %.go: csv2/%.scm
@GUILE_AUTO_COMPILE=0 guild compile $< -o $@ @GUILE_AUTO_COMPILE=0 guild compile $< -o $@
install: $(TARGET)/csv $(CCACHE)/csv install: $(TARGET)/csv $(CCACHE)/csv
$(TARGET)/csv: $(TARGET)/csv:
@echo "Installing source..." @echo "Installing source..."
cp -fr csv/ $(TARGET) cp -fr csv2/ $(TARGET)
@echo "Install complete." @echo "Install complete."
$(CCACHE)/csv: $(CCACHE)/csv:

@ -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"))
``` ```

Loading…
Cancel
Save