Skip to content

pm (pretty print) undefined in clojurescript #347

@SolbiatiAlessandro

Description

@SolbiatiAlessandro

I love core.matrix in my clojurescript project, and I am using the https://github.com/originrose/aljabr implementation. Everything works, beside pm.

(require '[clojure.core.matrix :as mat])
dev:cljs.user=> (def m (mat/matrix :aljabr [[1 2]]))
#'cljs.user/m
dev:cljs.user=> (mat/esum m)
3
dev:cljs.user=> (mat/pm m)
----  Compiler Warning on   <cljs form>   line:1  column:2  ----

  Use of undeclared Var clojure.core.matrix/pm

  1  (mat/pm m)
      ^---

----  Compiler Warning  ----
#object[TypeError TypeError: Cannot read property 'call' of undefined]
dev:cljs.user=> (doc mat/pm)
nil

The commands above are executed in the lein figwheel repo, in my dependencies I have [net.mikera/core.matrix "0.62.0"] [thinktopic/aljabr "0.1.1"].

Any ideas what's wrong with pm?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions