Skip to content

Commit c20ffab

Browse files
authored
calc FDG prologue fully client-side (#266)
1 parent a22d5f7 commit c20ffab

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/mentat_collective/emmy/fdg_prologue.clj

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
(list 'if (list '= serg 'a)
7777
[:tt 'a]
7878
[:div
79-
[:tt 'a] ;; comment this in prod
79+
[:tt 'a]
8080
[:tt serg]])))]))))
8181

8282
;; ## Programming and Understanding
@@ -279,11 +279,7 @@
279279
;; But, suppose we had no idea what the solution looks like. We could propose a
280280
;; literal function for the path:
281281

282-
;; [note by MAK: the following does not work in the sidebar because I could not get
283-
;; `literal-function` to work.
284-
;; As a remedy, I have an [alternative execution environment](https://kloimhardt.github.io/blog/html/sicmutils-as-js-book-part1.html) ]
285-
286-
(show-expression :calc-on-server
282+
(show-expression
287283
(((Lagrange-equations (L-harmonic 'm 'k))
288284
(literal-function 'x))
289285
't))

0 commit comments

Comments
 (0)