diff --git a/kirppu/templates/kirppu/help_lisp.html b/kirppu/templates/kirppu/help_lisp.html index 7211f8d..e8b6843 100644 --- a/kirppu/templates/kirppu/help_lisp.html +++ b/kirppu/templates/kirppu/help_lisp.html @@ -72,6 +72,8 @@

Help for the subset of Lisp language

Examples

0.50 per sold item

(* 0.5 (.count sold_and_compensated))
+

5 % of sold items

+
(* 0.05 (.sumBy 'price sold_and_compensated))

0.50 per sold item under price of 5, and 1 per sold item of and over price of 5

(begin
   (define under (.count (.filter sold_and_compensated '(< price 5))))