<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Standard library on ArkScript</title><link>https://arkscript-lang.dev/docs/std/</link><description>Recent content in Standard library on ArkScript</description><generator>Hugo</generator><language>en</language><copyright>Copyright (c) Lexy Plt</copyright><lastBuildDate>Sat, 07 Nov 2026 18:35:09 +0200</lastBuildDate><atom:link href="https://arkscript-lang.dev/docs/std/index.xml" rel="self" type="application/rss+xml"/><item><title>Async</title><link>https://arkscript-lang.dev/docs/std/async/</link><pubDate>Sat, 07 Nov 2026 18:35:09 +0200</pubDate><guid>https://arkscript-lang.dev/docs/std/async/</guid><description>&lt;h2 id="async">async&lt;/h2>
&lt;hr>
&lt;p>&lt;code>Builtin (async func args...)&lt;/code>
Calls a function asynchronously with a given set of arguments&lt;/p>
&lt;p>&lt;strong>Note&lt;/strong>: The function is started in a separate context, with no access to the others, preventing any concurrency problems.&lt;/p></description></item><item><title>Benchmark</title><link>https://arkscript-lang.dev/docs/std/benchmark/</link><pubDate>Sat, 07 Nov 2026 18:35:09 +0200</pubDate><guid>https://arkscript-lang.dev/docs/std/benchmark/</guid><description>&lt;p>The following functions require &lt;code>std.Benchmark&lt;/code> to be imported to be used.&lt;/p>
&lt;h2 id="measureonce">measureOnce&lt;/h2>
&lt;hr>
&lt;p>&lt;code>(macro measureOnce &amp;lt;value&amp;gt;)&lt;/code>
Measure the time it takes to run some given code, in milliseconds, and print the result&lt;/p></description></item><item><title>Builtins</title><link>https://arkscript-lang.dev/docs/std/builtins/</link><pubDate>Sat, 07 Nov 2026 18:35:09 +0200</pubDate><guid>https://arkscript-lang.dev/docs/std/builtins/</guid><description>&lt;h2 id="tostring">toString&lt;/h2>
&lt;hr>
&lt;p>&lt;code>(toString value)&lt;/code>
Convert a value to a string&lt;/p>
&lt;h4 id="parameter">Parameter&lt;/h4>
&lt;ul>
&lt;li>&lt;code>value&lt;/code>: anything&lt;/li>
&lt;/ul>
&lt;h4 id="example">Example&lt;/h4>
&lt;div class="expressive-code">
 &lt;figure class="frame not-content">
 &lt;div class="highlight">
 &lt;pre class="chroma">&lt;code class="rainbowjs" data-language="arkscript">(print (toString &amp;#34;abc&amp;#34;)) # &amp;#34;abc&amp;#34;
(print (toString 1)) # &amp;#34;1&amp;#34;
(print (toString (fun () ()))) # &amp;#34;Function@1&amp;#34;
(print (toString print)) # &amp;#34;CProcedure&amp;#34;
(print (toString [])) # &amp;#34;[]&amp;#34;
(let x 1) (print (toString (fun (&amp;amp;x) ()))) # &amp;#34;(.x=1)&amp;#34;
(print (toString (dict 1 2 3 4))) # &amp;#34;{1: 2, 3: 4}&amp;#34;
(print (toString nil)) # &amp;#34;nil&amp;#34;
(print (toString true)) # &amp;#34;true&amp;#34;
(print (toString false)) # &amp;#34;false&amp;#34;
&lt;/code>&lt;/pre>
 &lt;/div>
 &lt;/figure>
&lt;/div>


&lt;h2 id="type">type&lt;/h2>
&lt;hr>
&lt;p>&lt;code>(type value)&lt;/code>
Get the type of a given value as a string&lt;/p></description></item><item><title>Bytecode</title><link>https://arkscript-lang.dev/docs/std/bytecode/</link><pubDate>Sat, 07 Nov 2026 18:35:09 +0200</pubDate><guid>https://arkscript-lang.dev/docs/std/bytecode/</guid><description>&lt;h2 id="disassemble">disassemble&lt;/h2>
&lt;hr>
&lt;p>&lt;code>Builtin (disassemble f)&lt;/code>
Prints the bytecode of a given function&lt;/p>
&lt;p>&lt;strong>Author&lt;/strong>: &lt;a href="https://github.com/SuperFola">@SuperFola&lt;/a>&lt;/p>
&lt;h4 id="parameter">Parameter&lt;/h4>
&lt;ul>
&lt;li>&lt;code>f&lt;/code>: function to disassemble&lt;/li>
&lt;/ul>
&lt;h4 id="example">Example&lt;/h4>
&lt;div class="expressive-code">
 &lt;figure class="frame not-content">
 &lt;div class="highlight">
 &lt;pre class="chroma">&lt;code class="rainbowjs" data-language="arkscript">(let foo (fun () { (let a 1) (print a) })
(disassemble foo)
&lt;/code>&lt;/pre>
 &lt;/div>
 &lt;/figure>
&lt;/div>


&lt;script src="https://arkscript-lang.dev/js/rainbow.min.js">&lt;/script>
&lt;script src="https://arkscript-lang.dev/js/arkscript.js">&lt;/script></description></item><item><title>Cli</title><link>https://arkscript-lang.dev/docs/std/cli/</link><pubDate>Sat, 07 Nov 2026 18:35:09 +0200</pubDate><guid>https://arkscript-lang.dev/docs/std/cli/</guid><description>&lt;p>The following functions require &lt;code>std.Cli&lt;/code> to be imported to be used.&lt;/p>
&lt;h2 id="flag">flag&lt;/h2>
&lt;hr>
&lt;p>&lt;code>(let flag (fun (name desc) (...)))&lt;/code>
Defines a command line flag&lt;/p></description></item><item><title>Colours</title><link>https://arkscript-lang.dev/docs/std/colours/</link><pubDate>Sat, 07 Nov 2026 18:35:09 +0200</pubDate><guid>https://arkscript-lang.dev/docs/std/colours/</guid><description>&lt;h2 id="colours">colours&lt;/h2>
&lt;hr>
&lt;p>&lt;code>(let colours &amp;lt;value&amp;gt;)&lt;/code>
Dict of CSS colours, lowercase name to hex code (format: &lt;code>#abcdef&lt;/code>)&lt;/p>
&lt;p>&lt;strong>Author&lt;/strong>: &lt;a href="https://github.com/SuperFola">@SuperFola&lt;/a>&lt;/p>
&lt;h2 id="parse">parse&lt;/h2>
&lt;hr>
&lt;p>&lt;code>(let parse (fun (_name) (...)))&lt;/code>
Parse a CSS colour. Can convert a name to a colour code, a 3 digits code to a 6 digits one (eg &lt;code>#abc&lt;/code> to &lt;code>#aabbcc&lt;/code>)&lt;/p></description></item><item><title>CSV</title><link>https://arkscript-lang.dev/docs/std/csv/</link><pubDate>Sat, 07 Nov 2026 18:35:09 +0200</pubDate><guid>https://arkscript-lang.dev/docs/std/csv/</guid><description>&lt;p>The following functions require &lt;code>std.CSV&lt;/code> to be imported to be used.&lt;/p>
&lt;script src="https://arkscript-lang.dev/js/rainbow.min.js">&lt;/script>
&lt;script src="https://arkscript-lang.dev/js/arkscript.js">&lt;/script></description></item><item><title>Datetime</title><link>https://arkscript-lang.dev/docs/std/datetime/</link><pubDate>Sat, 07 Nov 2026 18:35:09 +0200</pubDate><guid>https://arkscript-lang.dev/docs/std/datetime/</guid><description>&lt;p>The following functions require &lt;code>std.Datetime&lt;/code> to be imported to be used.&lt;/p>
&lt;h2 id="timezoneoffsets">timezoneOffsets&lt;/h2>
&lt;hr>
&lt;p>&lt;code>(let timezoneOffsets &amp;lt;value&amp;gt;)&lt;/code>
Dictionary of time zone offsets to UTC, in minutes&lt;/p></description></item><item><title>Dict</title><link>https://arkscript-lang.dev/docs/std/dict/</link><pubDate>Sat, 07 Nov 2026 18:35:09 +0200</pubDate><guid>https://arkscript-lang.dev/docs/std/dict/</guid><description>&lt;h2 id="empty">empty?&lt;/h2>
&lt;hr>
&lt;p>&lt;code>(empty? a)&lt;/code>
Check if a dict is empty&lt;/p>
&lt;h4 id="parameter">Parameter&lt;/h4>
&lt;ul>
&lt;li>&lt;code>a&lt;/code>: dict&lt;/li>
&lt;/ul>
&lt;h4 id="example">Example&lt;/h4>
&lt;div class="expressive-code">
 &lt;figure class="frame not-content">
 &lt;div class="highlight">
 &lt;pre class="chroma">&lt;code class="rainbowjs" data-language="arkscript">(print (empty? (dict &amp;#34;a&amp;#34; 2))) # false
(print (empty? (dict))) # true
&lt;/code>&lt;/pre>
 &lt;/div>
 &lt;/figure>
&lt;/div>


&lt;h2 id="len">len&lt;/h2>
&lt;hr>
&lt;p>&lt;code>(len a)&lt;/code>
Return the length of a dictionary&lt;/p></description></item><item><title>Events</title><link>https://arkscript-lang.dev/docs/std/events/</link><pubDate>Sat, 07 Nov 2026 18:35:09 +0200</pubDate><guid>https://arkscript-lang.dev/docs/std/events/</guid><description>&lt;p>The following functions require &lt;code>std.Events&lt;/code> to be imported to be used.&lt;/p>
&lt;h2 id="managermake">manager:make&lt;/h2>
&lt;hr>
&lt;p>&lt;code>(let manager:make (fun () (...)))&lt;/code>
Allows to register events listeners and emit events&lt;/p></description></item></channel></rss>