From 390c40ae741716f17ae202dd68b777eda3495a6e Mon Sep 17 00:00:00 2001 From: gnembon Date: Tue, 27 Apr 2021 00:33:43 -0300 Subject: [PATCH] little better place --- docs/scarpet/language/LoopsAndHigherOrderFunctions.md | 8 -------- docs/scarpet/language/SystemFunctions.md | 9 +++++++++ 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/docs/scarpet/language/LoopsAndHigherOrderFunctions.md b/docs/scarpet/language/LoopsAndHigherOrderFunctions.md index c9bdfb0a..cc8bd883 100644 --- a/docs/scarpet/language/LoopsAndHigherOrderFunctions.md +++ b/docs/scarpet/language/LoopsAndHigherOrderFunctions.md @@ -147,11 +147,3 @@ reduce([1,2,3,4],_a+_,0) => 10 reduce([1,2,3,4],_a*_,1) => 24 -### `encode_b64(string)`, `decode_b64(string)` - -Encode or decode a string from b64, throwing a `b64_error` exception if it's invalid - -### `encode_json(value)`, `decode_json(string)` - -Encodes a value as a json string, and decodes a json string as a valid value, throwing a `json_error` exception if it -doesn't parse properly diff --git a/docs/scarpet/language/SystemFunctions.md b/docs/scarpet/language/SystemFunctions.md index 49690f57..da4389fa 100644 --- a/docs/scarpet/language/SystemFunctions.md +++ b/docs/scarpet/language/SystemFunctions.md @@ -350,6 +350,15 @@ This will give you a date: It is currently `hrs`:`mins` and `secs` seconds on the `date`th of `month`, `year` +### `encode_b64(string)`, `decode_b64(string)` + +Encode or decode a string from b64, throwing a `b64_error` exception if it's invalid + +### `encode_json(value)`, `decode_json(string)` + +Encodes a value as a json string, and decodes a json string as a valid value, throwing a `json_error` exception if it +doesn't parse properly + ### `profile_expr(expression)` Returns number of times given expression can be run in 50ms time. Useful to profile and optimize your code.