On 8月16日, 下午10时08分, botgerry wrote:
> On 8月16日, 下午8时49分, James Reeves wrote:
>
> > On Aug 16, 10:02 am, botgerry wrote:
>
> > > 1: searching in a, if find one inner vector includes number 9 then
> > > append it a number 13
> > > [[1 2 3 4] [ &qu
On 8月16日, 上午8时13分, Waysys wrote:
> Today I downloaded Clojure version 1.0.0 as a new Clojure user. I
> prepared a .cmd file to run the program. I copied and pasted in the
> instructions from the readme file into the .cmd file:
>
> java -cp clojure.jar clojure.lang.Repl
>
> (This is also the i
On 8月16日, 下午8时49分, James Reeves wrote:
> On Aug 16, 10:02 am, botgerry wrote:
>
> > 1: searching in a, if find one inner vector includes number 9 then
> > append it a number 13
> > [[1 2 3 4] [ "ok" "metoo"] [ 5 8 9 ]] => [[1 2 3 4] [ "ok
On 8月16日, 下午6时29分, Jarkko Oranen wrote:
> I think using a zipper is a good solution
but clojure.zip seems only support limit operates,i want it support "
mark and merge " functions
>You should never use def inside a function. It's a certain sign that
>you're doing something wrong. Why don't y
Hello,all
I'm new to functional programming,want to know how to address nested
inner seqs in clojure
(def a [[1 2 3 4] [ "ok" "metoo"] [ 5 8 9 ]])
1: searching in a, if find one inner vector includes number 9 then
append it a number 13
[[1 2 3 4] [ "ok" "metoo"] [ 5 8 9 ]] => [[1 2 3 4] [ "o
Hello,all
new to functional programming, I have one nested dynamic vecter just
like this:
(def a [[1 2 3 4] ["ok" 89 22] [25 78 99] ...]]
it has to support ops:
1* add new item,it's easy: eg. (conj a ["metoo" "oops"] )
2* insert one element into inner vector based that vector's
content,e