ruricolist / serapeum

Utilities beyond Alexandria
MIT License
428 stars 42 forks source link

summing doesn't return running sum #162

Closed bo-tato closed 11 months ago

bo-tato commented 11 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