Skip to content

Commit

Permalink
deploy: cf31c9a
Browse files Browse the repository at this point in the history
  • Loading branch information
erikerlandson committed Oct 22, 2023
1 parent f98a1c4 commit 7083eae
Show file tree
Hide file tree
Showing 13 changed files with 1,401 additions and 75 deletions.
9 changes: 3 additions & 6 deletions coulomb-core.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,9 @@

<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Fira+Mono:500">

<link rel="stylesheet" type="text/css" href="helium/icofont.min.css" />
<link rel="stylesheet" type="text/css" href="helium/laika-helium.css" />
<link rel="stylesheet" type="text/css" href="styles.css" />

<script src="helium/laika-helium.js"></script>

<link rel="stylesheet" type="text/css" href="helium/site/icofont.min.css" />
<link rel="stylesheet" type="text/css" href="helium/site/laika-helium.css" />
<script src="helium/site/laika-helium.js"></script>


<script> /* for avoiding page load transitions */ </script>
Expand Down
11 changes: 4 additions & 7 deletions coulomb-parser.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,9 @@

<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Fira+Mono:500">

<link rel="stylesheet" type="text/css" href="helium/icofont.min.css" />
<link rel="stylesheet" type="text/css" href="helium/laika-helium.css" />
<link rel="stylesheet" type="text/css" href="styles.css" />

<script src="helium/laika-helium.js"></script>

<link rel="stylesheet" type="text/css" href="helium/site/icofont.min.css" />
<link rel="stylesheet" type="text/css" href="helium/site/laika-helium.css" />
<script src="helium/site/laika-helium.js"></script>


<script> /* for avoiding page load transitions */ </script>
Expand Down Expand Up @@ -177,7 +174,7 @@ <h3 id="examples" class="section"><a class="anchor-link left" href="#examples"><
</span><span class="string-literal">&quot;coulomb.units.info&quot;</span><span> *:
</span><span class="type-name">EmptyTuple</span><span>
]
</span><span class="comment">// dslparser: RuntimeUnitParser = repl.MdocSession$MdocApp$$anon$1@6be146a</span></code></pre>
</span><span class="comment">// dslparser: RuntimeUnitParser = repl.MdocSession$MdocApp$$anon$1@71f26863</span></code></pre>
<p>Parsing can fail, and so the <code>parse</code> method returns an <a class="api" href="https://scala-lang.org/api/3.x/scala/util/Either.html">Either</a> object.
In the following code, parsing a known unit <code>meter</code> results in a successful <a class="api" href="https://scala-lang.org/api/3.x/scala/util/Right.html">Right</a> value.</p>
<p>This example illustrates that unit names parse into a corresponding fully qualified
Expand Down
17 changes: 7 additions & 10 deletions coulomb-pureconfig.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,9 @@

<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Fira+Mono:500">

<link rel="stylesheet" type="text/css" href="helium/icofont.min.css" />
<link rel="stylesheet" type="text/css" href="helium/laika-helium.css" />
<link rel="stylesheet" type="text/css" href="styles.css" />

<script src="helium/laika-helium.js"></script>

<link rel="stylesheet" type="text/css" href="helium/site/icofont.min.css" />
<link rel="stylesheet" type="text/css" href="helium/site/laika-helium.css" />
<script src="helium/site/laika-helium.js"></script>


<script> /* for avoiding page load transitions */ </script>
Expand Down Expand Up @@ -224,7 +221,7 @@ <h3 id="examples" class="section"><a class="anchor-link left" href="#examples"><
bandwidth: {value: 200, unit: &quot;gigabyte / second&quot;}
}
&quot;&quot;&quot;</span><span>)
</span><span class="comment">// source: ConfigObjectSource = pureconfig.ConfigObjectSource@508d8801
</span><span class="comment">// source: ConfigObjectSource = pureconfig.ConfigObjectSource@292769f7
</span><span>
</span><span class="comment">// this load will succeed, with automatic unit conversions
</span><span class="keyword">val</span><span> </span><span class="identifier">conf</span><span> = </span><span class="identifier">source</span><span>.</span><span class="identifier">load</span><span>[</span><span class="type-name">Config</span><span>]
Expand All @@ -241,7 +238,7 @@ <h3 id="examples" class="section"><a class="anchor-link left" href="#examples"><
bandwidth: {value: 200, unit: &quot;gigabyte&quot;}
}
&quot;&quot;&quot;</span><span>)
</span><span class="comment">// bad: ConfigObjectSource = pureconfig.ConfigObjectSource@4e647761
</span><span class="comment">// bad: ConfigObjectSource = pureconfig.ConfigObjectSource@310f4c5b
</span><span>
</span><span class="comment">// this load will fail because bandwidth units are incompatible
</span><span class="keyword">val</span><span> </span><span class="identifier">fail</span><span> = </span><span class="identifier">bad</span><span>.</span><span class="identifier">load</span><span>[</span><span class="type-name">Config</span><span>]
Expand Down Expand Up @@ -284,7 +281,7 @@ <h2 id="integer-values" class="section"><a class="anchor-link left" href="#integ
unit: megabyte
}
&quot;&quot;&quot;</span><span>)
</span><span class="comment">// qsrc: ConfigObjectSource = pureconfig.ConfigObjectSource@28874c5b
</span><span class="comment">// qsrc: ConfigObjectSource = pureconfig.ConfigObjectSource@ec6fc49
</span><span>
</span><span class="comment">// loading integer value types will succeed when type matches the config
</span><span class="identifier">qsrc</span><span>.</span><span class="identifier">load</span><span>[</span><span class="type-name">Quantity</span><span>[</span><span class="type-name">Int</span><span>, </span><span class="type-name">Mega</span><span> * </span><span class="type-name">Byte</span><span>]]
Expand Down Expand Up @@ -334,7 +331,7 @@ <h2 id="io-policies" class="section"><a class="anchor-link left" href="#io-polic
bandwidth: {value: 200, unit: {lhs: {lhs: giga, op: &quot;*&quot;, rhs: byte}, op: &quot;/&quot;, rhs: second}}
}
&quot;&quot;&quot;</span><span>)
</span><span class="comment">// source: ConfigObjectSource = pureconfig.ConfigObjectSource@1eebcdbf
</span><span class="comment">// source: ConfigObjectSource = pureconfig.ConfigObjectSource@2cebfd18
</span><span>
</span><span class="comment">// this load will succeed, with automatic unit conversions
</span><span class="keyword">val</span><span> </span><span class="identifier">conf</span><span> = </span><span class="identifier">source</span><span>.</span><span class="identifier">load</span><span>[</span><span class="type-name">Config</span><span>]
Expand Down
9 changes: 3 additions & 6 deletions coulomb-refined.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,9 @@

<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Fira+Mono:500">

<link rel="stylesheet" type="text/css" href="helium/icofont.min.css" />
<link rel="stylesheet" type="text/css" href="helium/laika-helium.css" />
<link rel="stylesheet" type="text/css" href="styles.css" />

<script src="helium/laika-helium.js"></script>

<link rel="stylesheet" type="text/css" href="helium/site/icofont.min.css" />
<link rel="stylesheet" type="text/css" href="helium/site/laika-helium.css" />
<script src="helium/site/laika-helium.js"></script>


<script> /* for avoiding page load transitions */ </script>
Expand Down
9 changes: 3 additions & 6 deletions coulomb-runtime.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,9 @@

<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Fira+Mono:500">

<link rel="stylesheet" type="text/css" href="helium/icofont.min.css" />
<link rel="stylesheet" type="text/css" href="helium/laika-helium.css" />
<link rel="stylesheet" type="text/css" href="styles.css" />

<script src="helium/laika-helium.js"></script>

<link rel="stylesheet" type="text/css" href="helium/site/icofont.min.css" />
<link rel="stylesheet" type="text/css" href="helium/site/laika-helium.css" />
<script src="helium/site/laika-helium.js"></script>


<script> /* for avoiding page load transitions */ </script>
Expand Down
9 changes: 3 additions & 6 deletions coulomb-spire.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,9 @@

<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Fira+Mono:500">

<link rel="stylesheet" type="text/css" href="helium/icofont.min.css" />
<link rel="stylesheet" type="text/css" href="helium/laika-helium.css" />
<link rel="stylesheet" type="text/css" href="styles.css" />

<script src="helium/laika-helium.js"></script>

<link rel="stylesheet" type="text/css" href="helium/site/icofont.min.css" />
<link rel="stylesheet" type="text/css" href="helium/site/laika-helium.css" />
<script src="helium/site/laika-helium.js"></script>


<script> /* for avoiding page load transitions */ </script>
Expand Down
9 changes: 3 additions & 6 deletions coulomb-units.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,9 @@

<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Fira+Mono:500">

<link rel="stylesheet" type="text/css" href="helium/icofont.min.css" />
<link rel="stylesheet" type="text/css" href="helium/laika-helium.css" />
<link rel="stylesheet" type="text/css" href="styles.css" />

<script src="helium/laika-helium.js"></script>

<link rel="stylesheet" type="text/css" href="helium/site/icofont.min.css" />
<link rel="stylesheet" type="text/css" href="helium/site/laika-helium.css" />
<script src="helium/site/laika-helium.js"></script>


<script> /* for avoiding page load transitions */ </script>
Expand Down
9 changes: 3 additions & 6 deletions develop.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,9 @@

<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Fira+Mono:500">

<link rel="stylesheet" type="text/css" href="helium/icofont.min.css" />
<link rel="stylesheet" type="text/css" href="helium/laika-helium.css" />
<link rel="stylesheet" type="text/css" href="styles.css" />

<script src="helium/laika-helium.js"></script>

<link rel="stylesheet" type="text/css" href="helium/site/icofont.min.css" />
<link rel="stylesheet" type="text/css" href="helium/site/laika-helium.css" />
<script src="helium/site/laika-helium.js"></script>


<script> /* for avoiding page load transitions */ </script>
Expand Down
7 changes: 7 additions & 0 deletions helium/site/icofont.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 7083eae

Please sign in to comment.