~subsetpark/ec

c3378464b261131178ebb34c2dc7f71f7a744b60 — Zach Smith 3 months ago 208a500
Bugfix abs
2 files changed, 2 insertions(+), 0 deletions(-)

M src/adverbs.janet
M src/compose.janet
M src/adverbs.janet => src/adverbs.janet +1 -0
@@ 242,6 242,7 @@
  > produce the value to be returned. If the data parameter is
  > positive then the second has to combine the data parameter with
  > the result of applying the function to its predecessor.
  
  Manfred von Thun, _Tutorial on Joy_
  ```
  (let [operation-param (calc/pop stack)

M src/compose.janet => src/compose.janet +1 -0
@@ 25,6 25,7 @@
  a -- b
  get the absolute value of the top element.
  ```
  adverbs/dup
  (calc/quote-wrap (:new calc/Int 0) operations/lt)
  (calc/quote-wrap (:new calc/Int 0) adverbs/swap operations/sub)
  (calc/quote-wrap)