mori icon indicating copy to clipboard operation
mori copied to clipboard

ClojureScript's persistent data structures and supporting API from the comfort of vanilla JavaScript

Results 63 mori issues
Sort by recently updated
recently updated
newest added

Documentation for the transduce function and any sequence functions, etc, that are overloaded to produce transducers.

``` > m.toClj({ "uc1": "test" }) {"uc1" "test"} > m.toClj({ "uc": "test" }) Error: No protocol method IEncodeClojure.-js->clj defined for type object: [object Object] at Error () at x (/Users/dmitrig01/Documents/Projects/branch-backend/node_modules/mori/mori.js:17:63)...

Task: **add single element to the front of the vector**. Current solutions: ``` js vector.apply(null, intoArray(cons("a", vector("b", "c")))); vector(...intoArray(cons("a", vector("b", "c")))); ``` are overcomplicated. Expected solution: ``` js vec(cons("a", vector("b",...

I am a big fan of Mori. I once wrote a [blog post](http://sitr.us/2013/11/04/functional-data-structures.html) on it. More recently I have been enjoying the benefits of type-checked Javascript. I think that [Flow](http://sitr.us/2014/11/21/flow-is-the-javascript-type-checker-i-have-been-waiting-for.html)...

I was having some trouble getting the mori build scripts to work. There were two issues that are fixed by these changes. The get_lein script produced an empty file when...

The documentation for `sortedMap` is broken: there is no `sortedMap` in the navigation pane. It is present in the main text, just above the `set` but it is named `sorted_map`

In the docs for `nth` it says: > For collections which are not sequential like sets and hash-map, the collection will be coerced into a sequence first. When I tested...

A function similar to scala's [AbstractMap.mapValues](http://www.scala-lang.org/api/2.11.4/index.html#scala.collection.immutable.AbstractMap@mapValues[C]%28f:B=%3EC%29:scala.collection.immutable.Map[A,C]) would be useful, e.g.: ``` var m = mori.hashMap("foo", 1, "bar", 2); mori.mapValues(mori.inc); // => {"foo" 2, "bar" 3} ```

According to the main Readme, for building on Windows, the following command can be used: ``` ./scripts/build.ps1 ``` Unfortunately this is not working in Win 7 or 8 (32 or...