Skip to content

Commit

Permalink
Deployed 12e87a8 to v3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Mar 4, 2024
1 parent cfa11f1 commit 3bb943e
Show file tree
Hide file tree
Showing 37 changed files with 19,157 additions and 55 deletions.
4 changes: 2 additions & 2 deletions v3.0.0/404.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions v3.0.0/api.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion v3.0.0/api/ml/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<div class="by-name">
<h2>OCaml package documentation</h2>
<ol>
<li><a href="melange/index.html">melange</a> <span class="version">2.1.0-213-g1a1f87a</span></li>
<li><a href="melange/index.html">melange</a> <span class="version">3.0.0-51</span></li>
</ol>
</div>
</main>
Expand Down
2 changes: 1 addition & 1 deletion v3.0.0/api/ml/melange/Js/String/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
charAt ~index:12 &quot;Reason&quot; = &quot;&quot;;
charAt ~index:5 {js|Rẽasöń|js} = {js|ń|js}</code></pre></div></div><div class="odoc-spec"><div class="spec value external anchored" id="val-charCodeAt"><a href="#val-charCodeAt" class="anchor"></a><code><span><span class="keyword">val</span> charCodeAt : <span><span class="label">index</span>:int <span class="arrow">&#45;&gt;</span></span> <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> float</span></code></div><div class="spec-doc"><p><code>charCodeAt s ~index</code> returns the character code at position <code>index</code> in string <code>s</code>; the result is in the range 0-65535, unlke <code>codePointAt</code>, so it will not work correctly for characters with code points greater than or equal to <code>0x10000</code>. The return type is <code>float</code> because this function returns <code>NaN</code> if <code>index</code> is less than zero or greater than the length of the string.</p><pre class="language-ocaml"><code>charCodeAt ~index:0 {js|😺|js} = 0xd83d
codePointAt ~index:0 {js|😺|js} = Some 0x1f63a</code></pre></div></div><div class="odoc-spec"><div class="spec value external anchored" id="val-codePointAt"><a href="#val-codePointAt" class="anchor"></a><code><span><span class="keyword">val</span> codePointAt : <span><span class="label">index</span>:int <span class="arrow">&#45;&gt;</span></span> <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <span>int option</span></span></code></div><div class="spec-doc"><p><code>codePointAt s ~index</code> returns the code point at position <code>index</code> within string <code>s</code> as a <code>Some</code> value. The return value handles code points greater than or equal to <code>0x10000</code>. If there is no code point at the given position, the function returns <code>None</code>.</p><pre class="language-ocaml"><code>codePointAt ~index:1 {js|¿😺?|js} = Some 0x1f63a
codePointAt ~index:5 &quot;abc&quot; = None</code></pre></div></div><p>ES2015</p><div class="odoc-spec"><div class="spec value external anchored" id="val-concat"><a href="#val-concat" class="anchor"></a><code><span><span class="keyword">val</span> concat : <span><span class="label">other</span>:<a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div><div class="spec-doc"><p><code>concat ~other original</code> returns a new string with <code>other</code> added after <code>original</code>.</p><pre class="language-ocaml"><code>concat ~other:&quot;bell&quot; &quot;cow&quot; = &quot;cowbell&quot;;;</code></pre></div></div><div class="odoc-spec"><div class="spec value external anchored" id="val-concatMany"><a href="#val-concatMany" class="anchor"></a><code><span><span class="keyword">val</span> concatMany : <span><span class="label">strings</span>:<span><a href="#type-t">t</a> array</span> <span class="arrow">&#45;&gt;</span></span> <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div><div class="spec-doc"><p><code>concatMany ~strings original</code> returns a new string consisting of each item of the array of strings <code>strings</code> added to the <code>original</code> string.</p><pre class="language-ocaml"><code>concatMany ~strings:[|&quot;2nd&quot;; &quot;3rd&quot;; &quot;4th&quot;|] &quot;1st&quot; = &quot;1st2nd3rd4th&quot;;;</code></pre></div></div><div class="odoc-spec"><div class="spec value external anchored" id="val-endsWith"><a href="#val-endsWith" class="anchor"></a><code><span><span class="keyword">val</span> endsWith : <span><span class="label">suffix</span>:<a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <span><span class="optlabel">?len</span>:int <span class="arrow">&#45;&gt;</span></span> <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> bool</span></code></div><div class="spec-doc"><p><code>endsWith ~suffix ?len str</code> returns <code>true</code> if the <code>str</code> ends with <code>suffix</code>, <code>false</code> otherwise. If <code>len</code> is specified, `endsWith` only takes into account the first <code>len</code> characters.</p><pre class="language-ocaml"><code>endsWith ~suffix:&quot;cd&quot; ~len:4 &quot;abcd&quot; = true;;
codePointAt ~index:5 &quot;abc&quot; = None</code></pre></div></div><p>ES2015</p><div class="odoc-spec"><div class="spec value external anchored" id="val-concat"><a href="#val-concat" class="anchor"></a><code><span><span class="keyword">val</span> concat : <span><span class="label">other</span>:<a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div><div class="spec-doc"><p><code>concat ~other:str2 str1</code> returns a new string with <code>str2</code> added after <code>str1</code>.</p><pre class="language-ocaml"><code>concat ~other:&quot;bell&quot; &quot;cow&quot; = &quot;cowbell&quot;;;</code></pre></div></div><div class="odoc-spec"><div class="spec value external anchored" id="val-concatMany"><a href="#val-concatMany" class="anchor"></a><code><span><span class="keyword">val</span> concatMany : <span><span class="label">strings</span>:<span><a href="#type-t">t</a> array</span> <span class="arrow">&#45;&gt;</span></span> <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div><div class="spec-doc"><p><code>concatMany ~strings original</code> returns a new string consisting of each item of the array of strings <code>strings</code> added to the <code>original</code> string.</p><pre class="language-ocaml"><code>concatMany ~strings:[|&quot;2nd&quot;; &quot;3rd&quot;; &quot;4th&quot;|] &quot;1st&quot; = &quot;1st2nd3rd4th&quot;;;</code></pre></div></div><div class="odoc-spec"><div class="spec value external anchored" id="val-endsWith"><a href="#val-endsWith" class="anchor"></a><code><span><span class="keyword">val</span> endsWith : <span><span class="label">suffix</span>:<a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <span><span class="optlabel">?len</span>:int <span class="arrow">&#45;&gt;</span></span> <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> bool</span></code></div><div class="spec-doc"><p><code>endsWith ~suffix ?len str</code> returns <code>true</code> if the <code>str</code> ends with <code>suffix</code>, <code>false</code> otherwise. If <code>len</code> is specified, `endsWith` only takes into account the first <code>len</code> characters.</p><pre class="language-ocaml"><code>endsWith ~suffix:&quot;cd&quot; ~len:4 &quot;abcd&quot; = true;;
endsWith ~suffix:&quot;cd&quot; ~len:3 &quot;abcde&quot; = false;;
endsWith ~suffix:&quot;cde&quot; ~len:99 &quot;abcde&quot; = true;;
endsWith ~suffix:&quot;ple&quot; ~len:7 &quot;example.dat&quot; = true;;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Syntaxerr (melange.Melange_compiler_libs.Syntaxerr)</title><link rel="stylesheet" href="../../../odoc.support/odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc 2.3.1"/><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">melange</a> &#x00BB; <a href="../index.html">Melange_compiler_libs</a> &#x00BB; Syntaxerr</nav><header class="odoc-preamble"><h1>Module <code><span>Melange_compiler_libs.Syntaxerr</span></code></h1><p>Auxiliary type for reporting syntax errors</p><p><b>Warning:</b> this module is unstable and part of <span class="xref-unresolved" title="Compiler_libs">compiler-libs</span>.</p></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-error"><a href="#type-error" class="anchor"></a><code><span><span class="keyword">type</span> error</span><span> = </span></code><ol><li id="type-error.Unclosed" class="def variant constructor anchored"><a href="#type-error.Unclosed" class="anchor"></a><code><span>| </span><span><span class="constructor">Unclosed</span> <span class="keyword">of</span> <a href="../Location/index.html#type-t">Location.t</a> * string * <a href="../Location/index.html#type-t">Location.t</a> * string</span></code></li><li id="type-error.Expecting" class="def variant constructor anchored"><a href="#type-error.Expecting" class="anchor"></a><code><span>| </span><span><span class="constructor">Expecting</span> <span class="keyword">of</span> <a href="../Location/index.html#type-t">Location.t</a> * string</span></code></li><li id="type-error.Not_expecting" class="def variant constructor anchored"><a href="#type-error.Not_expecting" class="anchor"></a><code><span>| </span><span><span class="constructor">Not_expecting</span> <span class="keyword">of</span> <a href="../Location/index.html#type-t">Location.t</a> * string</span></code></li><li id="type-error.Applicative_path" class="def variant constructor anchored"><a href="#type-error.Applicative_path" class="anchor"></a><code><span>| </span><span><span class="constructor">Applicative_path</span> <span class="keyword">of</span> <a href="../Location/index.html#type-t">Location.t</a></span></code></li><li id="type-error.Variable_in_scope" class="def variant constructor anchored"><a href="#type-error.Variable_in_scope" class="anchor"></a><code><span>| </span><span><span class="constructor">Variable_in_scope</span> <span class="keyword">of</span> <a href="../Location/index.html#type-t">Location.t</a> * string</span></code></li><li id="type-error.Other" class="def variant constructor anchored"><a href="#type-error.Other" class="anchor"></a><code><span>| </span><span><span class="constructor">Other</span> <span class="keyword">of</span> <a href="../Location/index.html#type-t">Location.t</a></span></code></li><li id="type-error.Ill_formed_ast" class="def variant constructor anchored"><a href="#type-error.Ill_formed_ast" class="anchor"></a><code><span>| </span><span><span class="constructor">Ill_formed_ast</span> <span class="keyword">of</span> <a href="../Location/index.html#type-t">Location.t</a> * string</span></code></li><li id="type-error.Invalid_package_type" class="def variant constructor anchored"><a href="#type-error.Invalid_package_type" class="anchor"></a><code><span>| </span><span><span class="constructor">Invalid_package_type</span> <span class="keyword">of</span> <a href="../Location/index.html#type-t">Location.t</a> * string</span></code></li><li id="type-error.Removed_string_set" class="def variant constructor anchored"><a href="#type-error.Removed_string_set" class="anchor"></a><code><span>| </span><span><span class="constructor">Removed_string_set</span> <span class="keyword">of</span> <a href="../Location/index.html#type-t">Location.t</a></span></code></li></ol></div></div><div class="odoc-spec"><div class="spec exception anchored" id="exception-Error"><a href="#exception-Error" class="anchor"></a><code><span><span class="keyword">exception</span> </span><span><span class="exception">Error</span> <span class="keyword">of</span> <a href="#type-error">error</a></span></code></div></div><div class="odoc-spec"><div class="spec exception anchored" id="exception-Escape_error"><a href="#exception-Escape_error" class="anchor"></a><code><span><span class="keyword">exception</span> </span><span><span class="exception">Escape_error</span></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-location_of_error"><a href="#val-location_of_error" class="anchor"></a><code><span><span class="keyword">val</span> location_of_error : <span><a href="#type-error">error</a> <span class="arrow">&#45;&gt;</span></span> <a href="../Location/index.html#type-t">Location.t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-ill_formed_ast"><a href="#val-ill_formed_ast" class="anchor"></a><code><span><span class="keyword">val</span> ill_formed_ast : <span><a href="../Location/index.html#type-t">Location.t</a> <span class="arrow">&#45;&gt;</span></span> <span>string <span class="arrow">&#45;&gt;</span></span> <span class="type-var">'a</span></span></code></div></div></div></body></html>
2 changes: 1 addition & 1 deletion v3.0.0/api/ml/melange/Melange_compiler_libs/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion v3.0.0/api/ml/melange/Melange_ffi/Import/index.html

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Private (melange.Melange_ffi.Utf8_string.Private)</title><link rel="stylesheet" href="../../../../odoc.support/odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc 2.3.1"/><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">melange</a> &#x00BB; <a href="../../index.html">Melange_ffi</a> &#x00BB; <a href="../index.html">Utf8_string</a> &#x00BB; Private</nav><header class="odoc-preamble"><h1>Module <code><span>Utf8_string.Private</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec value anchored" id="val-transform"><a href="#val-transform" class="anchor"></a><code><span><span class="keyword">val</span> transform : <span>string <span class="arrow">&#45;&gt;</span></span> string</span></code></div></div></div></body></html>
Loading

0 comments on commit 3bb943e

Please sign in to comment.