On page 13, how to make (require 'examples.introduction) work ? How to augment the CLASSPATH such that clj is able to find examples/introduction.clj ? TIA
1 Like
Based on what is written on page 19, the following arbitrary precision computation does not work. Is there a way to make it work ? And maybe indicate it in the book ?
user=> (/ 22.0 7)
3.142857142857143
user=> (/ 22.0M 7)
Execution error (ArithmeticException) at java.math.BigDecimal/divide (BigDecimal.java:1810).
Non-terminating decimal expansion; no exact representable decimal result.
1 Like