ruricolist / serapeum

Utilities beyond Alexandria
MIT License
415 stars 41 forks source link

summing doesn't return running sum #162

Closed bo-tato closed 8 months ago

bo-tato commented 8 months ago

In the docstring for summing it says:

To see the running sum, call sum with no arguments.

However when I try:

(summing
  (sum 10)
  (sum 15)
  (print (sum)))

at least with SBCL 2.3.8 I get the error: (FLET SUM) called with invalid number of arguments: 0