Fork me on GitHub
#protorepl
<
2016-07-26
>
fingertoe15:07:19

In my protorepl (/ 44 14) rpgedn.core=> 3.142857142857143 In lein rpgedn.core=> (/ 44 14) 22/7

fingertoe16:07:09

I believe 22/7 is the expected behavior.. Went to demonstrate the clojure ratio feature to a co-worker and it didn’t work..

jasongilman20:07:14

@fingertoe: is this only in inline display or is it in the REPL?

fingertoe22:07:47

In the Cloure Repl tab.

fingertoe22:07:29

Seems to do it on a clean project too..

fingertoe22:07:53

It does look to do it in both the REPL and the inline result now that I check..

fingertoe22:07:33

Seems to decimalize it if I connect via remote nrepl as well..

fingertoe23:07:21

In REPL rpgedn.core=> (def piishness (/ 22 7)) #'rpgedn.core/piishness rpgedn.core=> piishness 22/7 In protorepl hooked to nrepl port of REPL piishness rpgedn.core=> 3.142857142857143