Thanks.
That did it.
On Jun 16, 5:46 pm, Benny Tsai wrote:
> Hi cmn,
>
> A few things:
>
> 1. The warnings you see are because the clojure.contrib.string namespace
> defines several functions that have the same name as core functions (repeat,
> reverse, etc.). The recommended way to pull in name
The clojure.contrib.string namespace contains many function names which are
already defined clojure.core. So, by :use-ing clojure.contrib.string, you
will be replacing the core functions with the string functions. Rarely do
you really want to do this. It is generally best to :require instead of
Hi cmn,
A few things:
1. The warnings you see are because the clojure.contrib.string namespace
defines several functions that have the same name as core functions (repeat,
reverse, etc.). The recommended way to pull in namespaces like that is to
do (:require [clojure.contrib.string :as str]),
I don't know what I'm doing wrong. After adding (:use
clojure.contrib.string) to
(ns test-csv
(:gen-class)
(:import (java.io BufferedReader FileReader StringReader))
(:use clojure-csv.core)
(:use clojure.contrib.string))
(defn process-file [file-name]
(with-open [br (BufferedReader.
Hi cmn,
I think if you add clojure.contrib.string to your use or simply add
(:use clojure.contrib.string). I think that should fix it.
Damon
On Jun 16, 12:16 pm, octopusgrabbus wrote:
> What is the proper way to :use clojure contrib so split resolves as a
> symbol?
>
> ns test-csv
> (:gen-clas
What is the proper way to :use clojure contrib so split resolves as a
symbol?
ns test-csv
(:gen-class)
(:import (java.io BufferedReader FileReader StringReader))
(:use clojure-csv.core)
(:use [clojure.contrib.def]))
(defn process-file [file-name]
(with-open [br (BufferedReader. (FileR