On Mar 9, 10:55 am, Dirk Vleugels wrote:
> (defn extract [ s i ]
> (conj [] (nth s i) (nth s (inc i)) (nth s (inc (inc i)
(defn extract [s i] (subvec (vec s) i (+ i 3)))
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the G
On Mar 9, 10:48 am, timc wrote:
> Can someone please see what's wrong with this.
>
> (defn getArg [arg]
> "Return a [keyword value] depending on the form of the string arg:
> 1. arg is of the form +x ==> [:x true].
> 2. arg is of the form -x ==> [:x false].
> 3.
On Mar 8, 7:59 pm, Brian Carper wrote:
> On Mar 8, 10:53 am, Rich Hickey wrote:>
>
> > In looking at some of the libraries, I am a bit concerned that maps
> > are not being used when the logical entity is in fact a map.
>
> One time I find myself abusing vectors where maps would be better is
>