pink-gorilla / notebook

Web based Clojure notebook application/-library.
https://pink-gorilla.github.io/
103 stars 9 forks source link

eval issues - when newsession is not detected #116

Closed awb99 closed 4 years ago

awb99 commented 4 years ago

When evaluing a new notebook, it all works fine. Except the (ns macro) is not assigning line-plot to the "line-plot" variable. Repo:

git clone https://github.com/pink-gorilla/trateg
cd trateg
lein notebook

In the notebook this is the problem: (list-plot (concat (range 10) (reverse (range 10))))

error message: Syntax error compiling at (REPL:1:1). Unable to resolve symbol: list-plot in this context

this works: (pinkgorilla.ui.gorilla-plot.core/list-plot (concat (range 10) (reverse (range 10))))

awb99 commented 4 years ago

this also makes a problem:

(ns parched-brook
(:require [clojure.pprint :refer [print-table]] )) (print-table [ {:a 1 :b 2} {:a 3 :b 4}])