Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
johnridesabike committed Nov 23, 2024
1 parent b18f562 commit 606bdf7
Show file tree
Hide file tree
Showing 44 changed files with 3,268 additions and 6,383 deletions.
6,446 changes: 3,203 additions & 3,243 deletions acutis.js

Large diffs are not rendered by default.

4 changes: 1 addition & 3 deletions api/acutis/Acutis/Render/argument-1-Promise/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Promise (acutis.Acutis.Render.Promise)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../../odoc.support/odoc.css"/><meta name="generator" content="odoc 2.4.3"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../../odoc.support/highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script><script>let base_url = '../../../../';
let search_urls = ['../../../db.js','../../../../sherlodoc.js'];
</script><script src="../../../../odoc.support/odoc_search.js" defer="defer"></script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a><a href="../../../index.html">acutis</a> &#x00BB; <a href="../../index.html">Acutis</a> &#x00BB; <a href="../index.html">Render</a> &#x00BB; Promise</nav><div class="odoc-search"><div class="search-inner"><input class="search-bar" placeholder="🔎 Search..."/><div class="search-snake"></div><div class="search-result"></div></div></div><header class="odoc-preamble"><h1>Parameter <code><span>Render.Promise</span></code></h1><p>A promise interface for async operations.</p></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> <span>'a t</span></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-return"><a href="#val-return" class="anchor"></a><code><span><span class="keyword">val</span> return : <span><span class="type-var">'a</span> <span class="arrow">&#45;&gt;</span></span> <span><span class="type-var">'a</span> <a href="#type-t">t</a></span></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-error"><a href="#val-error" class="anchor"></a><code><span><span class="keyword">val</span> error : <span>exn <span class="arrow">&#45;&gt;</span></span> <span><span class="type-var">'a</span> <a href="#type-t">t</a></span></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-await"><a href="#val-await" class="anchor"></a><code><span><span class="keyword">val</span> await : <span><span><span class="type-var">'a</span> <a href="#type-t">t</a></span> <span class="arrow">&#45;&gt;</span></span> <span class="type-var">'a</span></span></code></div></div></div></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Promise (acutis.Acutis.Render.Promise)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../../odoc.support/odoc.css"/><meta name="generator" content="odoc 2.4.3"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../../odoc.support/highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a><a href="../../../index.html">acutis</a> &#x00BB; <a href="../../index.html">Acutis</a> &#x00BB; <a href="../index.html">Render</a> &#x00BB; Promise</nav><header class="odoc-preamble"><h1>Parameter <code><span>Render.Promise</span></code></h1><p>A promise interface for async operations.</p></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> <span>'a t</span></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-return"><a href="#val-return" class="anchor"></a><code><span><span class="keyword">val</span> return : <span><span class="type-var">'a</span> <span class="arrow">&#45;&gt;</span></span> <span><span class="type-var">'a</span> <a href="#type-t">t</a></span></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-error"><a href="#val-error" class="anchor"></a><code><span><span class="keyword">val</span> error : <span>exn <span class="arrow">&#45;&gt;</span></span> <span><span class="type-var">'a</span> <a href="#type-t">t</a></span></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-await"><a href="#val-await" class="anchor"></a><code><span><span class="keyword">val</span> await : <span><span><span class="type-var">'a</span> <a href="#type-t">t</a></span> <span class="arrow">&#45;&gt;</span></span> <span class="type-var">'a</span></span></code></div></div></div></body></html>
4 changes: 1 addition & 3 deletions api/acutis/Acutis/Render/argument-2-Data/index.html

Large diffs are not rendered by default.

4 changes: 1 addition & 3 deletions api/acutis/Acutis/Render/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Render (acutis.Acutis.Render)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../odoc.support/odoc.css"/><meta name="generator" content="odoc 2.4.3"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../odoc.support/highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script><script>let base_url = '../../../';
let search_urls = ['../../db.js','../../../sherlodoc.js'];
</script><script src="../../../odoc.support/odoc_search.js" defer="defer"></script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a><a href="../../index.html">acutis</a> &#x00BB; <a href="../index.html">Acutis</a> &#x00BB; Render</nav><div class="odoc-search"><div class="search-inner"><input class="search-bar" placeholder="🔎 Search..."/><div class="search-snake"></div><div class="search-result"></div></div></div><header class="odoc-preamble"><h1>Module <code><span>Acutis.Render</span></code></h1><p>A functor that builds a render implementation for a given promise interface and a given decodable input type.</p><p>We need to use a functor because parameterized types, such as in <a href="../module-type-PROMISE/index.html"><code>PROMISE</code></a>, are not supported in first-class modules.</p></header><nav class="odoc-toc"><ul><li><a href="#parameters">Parameters</a></li><li><a href="#signature">Signature</a></li></ul></nav><div class="odoc-content"><h2 id="parameters"><a href="#parameters" class="anchor"></a>Parameters</h2><div class="odoc-spec"><div class="spec parameter anchored" id="argument-1-Promise"><a href="#argument-1-Promise" class="anchor"></a><code><span><span class="keyword">module</span> </span><span><a href="argument-1-Promise/index.html">Promise</a></span><span> : <a href="../module-type-PROMISE/index.html">PROMISE</a></span></code></div></div><div class="odoc-spec"><div class="spec parameter anchored" id="argument-2-Data"><a href="#argument-2-Data" class="anchor"></a><code><span><span class="keyword">module</span> </span><span><a href="argument-2-Data/index.html">Data</a></span><span> : <a href="../module-type-DECODABLE/index.html">DECODABLE</a></span></code></div></div><h2 id="signature"><a href="#signature" class="anchor"></a>Signature</h2><div class="odoc-spec"><div class="spec value anchored" id="val-apply"><a href="#val-apply" class="anchor"></a><code><span><span class="keyword">val</span> apply : <span><span><span>(<span><a href="argument-2-Data/index.html#type-t">Data.t</a> <span class="arrow">&#45;&gt;</span></span> <span>string <a href="argument-1-Promise/index.html#type-t">Promise.t</a></span>)</span> <a href="../index.html#type-compiled">compiled</a></span> <span class="arrow">&#45;&gt;</span></span> <span><a href="argument-2-Data/index.html#type-t">Data.t</a> <span class="arrow">&#45;&gt;</span></span> <span>string <a href="argument-1-Promise/index.html#type-t">Promise.t</a></span></span></code></div><div class="spec-doc"><p>Apply data to a template and return the rendered output.</p></div></div></div></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Render (acutis.Acutis.Render)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../odoc.support/odoc.css"/><meta name="generator" content="odoc 2.4.3"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../odoc.support/highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a><a href="../../index.html">acutis</a> &#x00BB; <a href="../index.html">Acutis</a> &#x00BB; Render</nav><header class="odoc-preamble"><h1>Module <code><span>Acutis.Render</span></code></h1><p>A functor that builds a render implementation for a given promise interface and a given decodable input type.</p><p>We need to use a functor because parameterized types, such as in <a href="../module-type-PROMISE/index.html"><code>PROMISE</code></a>, are not supported in first-class modules.</p></header><nav class="odoc-toc"><ul><li><a href="#parameters">Parameters</a></li><li><a href="#signature">Signature</a></li></ul></nav><div class="odoc-content"><h2 id="parameters"><a href="#parameters" class="anchor"></a>Parameters</h2><div class="odoc-spec"><div class="spec parameter anchored" id="argument-1-Promise"><a href="#argument-1-Promise" class="anchor"></a><code><span><span class="keyword">module</span> </span><span><a href="argument-1-Promise/index.html">Promise</a></span><span> : <a href="../module-type-PROMISE/index.html">PROMISE</a></span></code></div></div><div class="odoc-spec"><div class="spec parameter anchored" id="argument-2-Data"><a href="#argument-2-Data" class="anchor"></a><code><span><span class="keyword">module</span> </span><span><a href="argument-2-Data/index.html">Data</a></span><span> : <a href="../module-type-DECODABLE/index.html">DECODABLE</a></span></code></div></div><h2 id="signature"><a href="#signature" class="anchor"></a>Signature</h2><div class="odoc-spec"><div class="spec value anchored" id="val-apply"><a href="#val-apply" class="anchor"></a><code><span><span class="keyword">val</span> apply : <span><span><span>(<span><a href="argument-2-Data/index.html#type-t">Data.t</a> <span class="arrow">&#45;&gt;</span></span> <span>string <a href="argument-1-Promise/index.html#type-t">Promise.t</a></span>)</span> <a href="../index.html#type-compiled">compiled</a></span> <span class="arrow">&#45;&gt;</span></span> <span><a href="argument-2-Data/index.html#type-t">Data.t</a> <span class="arrow">&#45;&gt;</span></span> <span>string <a href="argument-1-Promise/index.html#type-t">Promise.t</a></span></span></code></div><div class="spec-doc"><p>Apply data to a template and return the rendered output.</p></div></div></div></body></html>
Loading

0 comments on commit 606bdf7

Please sign in to comment.