Date: March 28, 2019
- JIT performance regression
- Exception printer for uncaught exceptions
- Java 12 test problems
https://developers.google.com/closure/
https://clojurescript.org/guides/javascript-modules
- Guide from June 2018 using lein-npm: https://gist.github.com/pbostrom/87500c8c3fa43b23cd3ccd764ef767d5
- Guide from March 2018 using shadow-cljs: https://gist.github.com/jmlsf/f41b46c43a31224f46a41b361356f04d
- Another shadow-cljs guide from March 2018: https://clojureverse.org/t/guide-on-how-to-use-import-npm-modules-packages-in-clojurescript/2298
Shadow-cljs seems to be the preferred way to do this.
shadow-cljs: http://shadow-cljs.org/
Multiplication table
Write a program which takes 2 digits, X,Y as input and generates a X,Y matrix as a vector of vectors. The element value in the i-th row and j-th column of the matrix should be i*j.
(matrix 3 4)
;=> [[0 0 0 0]
; [0 1 2 3]
; [0 2 4 6]]
Bonus: extend it to work with any operation, not just multiplication.
(borrowed from: https://github.com/zhiwehu/Python-programming-exercises/blob/master/100%2B%20Python%20challenging%20programming%20exercises.txt)