diff --git a/std/v4.0.0/Async.html b/std/v4.0.0/Async.html index bada9d3a..0ab8c9e2 100644 --- a/std/v4.0.0/Async.html +++ b/std/v4.0.0/Async.html @@ -124,7 +124,7 @@
_L
: the list to work on_f
: the conditon_L
: the list to work on_f
: the condition@@ -471,6 +473,28 @@list:any
(let f (fun (e) (< e 3))) (print (list:any a f)) # true +
(let list:countIf (fun (_L _f) (...)))
+_L
: the list to work on_f
: the condition
+
+(let lst [1 2 3 4 5 6 7 8 9])
+(let is_even (fun (e) (= 0 (mod e 2))))
+(print (count_if lst is_even)) # 4
+
(test:suite name { - (set display_cases_success true) # default: false, when true, display all the cases names on success and failures + (_suite.toggle_display_cases_success true) # default: false, when true, display all the cases names on success and failures (test:eq 6 (my_function 1 2 3)) (test:eq 128 (* 8 16))})
@@ -199,7 +199,7 @@test:suite
diff --git a/std/v4.0.0/Time.html b/std/v4.0.0/Time.html index 3cbc753c..2e231255 100644 --- a/std/v4.0.0/Time.html +++ b/std/v4.0.0/Time.html @@ -98,7 +98,7 @@time
diff --git a/std/v4.0.0/index.html b/std/v4.0.0/index.html index d4a6dcaa..0a78ccfa 100644 --- a/std/v4.0.0/index.html +++ b/std/v4.0.0/index.html @@ -78,7 +78,7 @@ArkScript v4.0.0 documentation
diff --git a/std/v4.0.0/os.html b/std/v4.0.0/os.html index 841ef764..23058b89 100644 --- a/std/v4.0.0/os.html +++ b/std/v4.0.0/os.html @@ -93,7 +93,7 @@os:home_dir