Skip to content

Commit

Permalink
Deployed haddocks
Browse files Browse the repository at this point in the history
  • Loading branch information
coot committed Oct 4, 2023
1 parent 6e745ab commit b91639c
Show file tree
Hide file tree
Showing 20 changed files with 1,515 additions and 1,515 deletions.
108 changes: 54 additions & 54 deletions hedgehog-extras/src/Hedgehog.Extras.Aeson.html

Large diffs are not rendered by default.

94 changes: 47 additions & 47 deletions hedgehog-extras/src/Hedgehog.Extras.Internal.Cli.html

Large diffs are not rendered by default.

36 changes: 18 additions & 18 deletions hedgehog-extras/src/Hedgehog.Extras.Internal.Plan.html

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions hedgehog-extras/src/Hedgehog.Extras.Internal.Test.Integration.html

Large diffs are not rendered by default.

36 changes: 18 additions & 18 deletions hedgehog-extras/src/Hedgehog.Extras.Stock.Aeson.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,45 +7,45 @@
</span><span id="line-7"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="../file:///usr/local/.ghcup/ghc/9.2.5/share/doc/ghc-9.2.5/html/libraries/base-4.16.4.0/src"><span class="hs-identifier">Data.Functor</span></a></span><span>
</span><span id="line-8"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><span class="hs-identifier">Data.HashMap.Lazy</span></span><span>
</span><span id="line-9"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="../file:///usr/local/.ghcup/ghc/9.2.5/share/doc/ghc-9.2.5/html/libraries/text-1.2.5.0/src"><span class="hs-identifier">Data.Text</span></a></span><span>
</span><span id="line-10"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="../file:///usr/local/.ghcup/ghc/9.2.5/share/doc/ghc-9.2.5/html/libraries/base-4.16.4.0/src"><span class="hs-identifier">Prelude</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="../file:///usr/local/.ghcup/ghc/9.2.5/share/doc/ghc-9.2.5/html/libraries/base-4.16.4.0/src"><span class="hs-operator">(.)</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><a href="../file:///usr/local/.ghcup/ghc/9.2.5/share/doc/ghc-9.2.5/html/libraries/base-4.16.4.0/src"><span class="hs-operator">($)</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-10"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="../file:///usr/local/.ghcup/ghc/9.2.5/share/doc/ghc-9.2.5/html/libraries/base-4.16.4.0/src"><span class="hs-identifier">Prelude</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="../file:///usr/local/.ghcup/ghc/9.2.5/share/doc/ghc-9.2.5/html/libraries/base-4.16.4.0/src"><span class="hs-operator">($)</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><a href="../file:///usr/local/.ghcup/ghc/9.2.5/share/doc/ghc-9.2.5/html/libraries/base-4.16.4.0/src"><span class="hs-operator">(.)</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-11"></span><span>
</span><span id="line-12"></span><span class="hs-keyword">import</span><span> </span><span class="hs-keyword">qualified</span><span> </span><span class="annot"><span class="hs-identifier">HaskellWorks.Data.Aeson.Compat.Map</span></span><span> </span><span class="hs-keyword">as</span><span> </span><span class="annot"><span class="hs-identifier">KM</span></span><span>
</span><span id="line-12"></span><span class="hs-keyword">import</span><span> </span><span class="hs-keyword">qualified</span><span> </span><span class="annot"><span class="hs-identifier">Data.Aeson.KeyMap</span></span><span> </span><span class="hs-keyword">as</span><span> </span><span class="annot"><span class="hs-identifier">KM</span></span><span>
</span><span id="line-13"></span><span>
</span><span id="line-14"></span><span class="hs-comment">-- | Rewrite a JSON object to another JSON object using the function 'f'.</span><span>
</span><span id="line-15"></span><span class="hs-comment">--</span><span>
</span><span id="line-16"></span><span class="hs-comment">-- All other JSON values are preserved.</span><span>
</span><span id="line-17"></span><span class="annot"><a href="Hedgehog.Extras.Stock.Aeson.html#rewriteObject"><span class="hs-identifier hs-type">rewriteObject</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-special">(</span><span class="annot"><span class="hs-identifier hs-type">HashMap</span></span><span> </span><span class="annot"><a href="../file:///usr/local/.ghcup/ghc/9.2.5/share/doc/ghc-9.2.5/html/libraries/text-1.2.5.0/src"><span class="hs-identifier hs-type">Text</span></a></span><span> </span><span class="annot"><span class="hs-identifier hs-type">Value</span></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><span class="hs-identifier hs-type">HashMap</span></span><span> </span><span class="annot"><a href="../file:///usr/local/.ghcup/ghc/9.2.5/share/doc/ghc-9.2.5/html/libraries/text-1.2.5.0/src"><span class="hs-identifier hs-type">Text</span></a></span><span> </span><span class="annot"><span class="hs-identifier hs-type">Value</span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><span class="hs-identifier hs-type">Value</span></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><span class="hs-identifier hs-type">Value</span></span><span>
</span><span id="line-18"></span><span id="rewriteObject"><span class="annot"><span class="annottext">rewriteObject :: (HashMap Text Value -&gt; HashMap Text Value) -&gt; Value -&gt; Value
</span><a href="Hedgehog.Extras.Stock.Aeson.html#rewriteObject"><span class="hs-identifier hs-var hs-var">rewriteObject</span></a></span></span><span> </span><span id="local-6989586621679117116"><span class="annot"><span class="annottext">HashMap Text Value -&gt; HashMap Text Value
</span><a href="#local-6989586621679117116"><span class="hs-identifier hs-var">f</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="hs-identifier hs-type">Object</span></span><span> </span><span id="local-6989586621679117114"><span class="annot"><span class="annottext">Object
</span><a href="#local-6989586621679117114"><span class="hs-identifier hs-var">hm</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Object -&gt; Value
</span><a href="Hedgehog.Extras.Stock.Aeson.html#rewriteObject"><span class="hs-identifier hs-var hs-var">rewriteObject</span></a></span></span><span> </span><span id="local-6989586621679117145"><span class="annot"><span class="annottext">HashMap Text Value -&gt; HashMap Text Value
</span><a href="#local-6989586621679117145"><span class="hs-identifier hs-var">f</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="hs-identifier hs-type">Object</span></span><span> </span><span id="local-6989586621679117143"><span class="annot"><span class="annottext">Object
</span><a href="#local-6989586621679117143"><span class="hs-identifier hs-var">hm</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Object -&gt; Value
</span><span class="hs-identifier hs-var">Object</span></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">forall v. HashMap Text v -&gt; KeyMap v
</span><span class="hs-identifier hs-var">KM.fromHashMapText</span></span><span> </span><span class="annot"><span class="annottext">forall b c a. (b -&gt; c) -&gt; (a -&gt; b) -&gt; a -&gt; c
</span><a href="../file:///usr/local/.ghcup/ghc/9.2.5/share/doc/ghc-9.2.5/html/libraries/base-4.16.4.0/src"><span class="hs-operator hs-var">.</span></a></span><span> </span><span class="annot"><span class="annottext">HashMap Text Value -&gt; HashMap Text Value
</span><a href="#local-6989586621679117116"><span class="hs-identifier hs-var">f</span></a></span><span> </span><span class="annot"><span class="annottext">forall b c a. (b -&gt; c) -&gt; (a -&gt; b) -&gt; a -&gt; c
</span><a href="#local-6989586621679117145"><span class="hs-identifier hs-var">f</span></a></span><span> </span><span class="annot"><span class="annottext">forall b c a. (b -&gt; c) -&gt; (a -&gt; b) -&gt; a -&gt; c
</span><a href="../file:///usr/local/.ghcup/ghc/9.2.5/share/doc/ghc-9.2.5/html/libraries/base-4.16.4.0/src"><span class="hs-operator hs-var">.</span></a></span><span> </span><span class="annot"><span class="annottext">forall v. KeyMap v -&gt; HashMap Text v
</span><span class="hs-identifier hs-var">KM.toHashMapText</span></span><span> </span><span class="annot"><span class="annottext">forall a b. (a -&gt; b) -&gt; a -&gt; b
</span><a href="../file:///usr/local/.ghcup/ghc/9.2.5/share/doc/ghc-9.2.5/html/libraries/base-4.16.4.0/src"><span class="hs-operator hs-var">$</span></a></span><span> </span><span class="annot"><span class="annottext">Object
</span><a href="#local-6989586621679117114"><span class="hs-identifier hs-var">hm</span></a></span><span class="hs-special">)</span><span>
</span><a href="#local-6989586621679117143"><span class="hs-identifier hs-var">hm</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-19"></span><span class="annot"><a href="Hedgehog.Extras.Stock.Aeson.html#rewriteObject"><span class="hs-identifier hs-var">rewriteObject</span></a></span><span> </span><span class="annot"><span class="annottext">HashMap Text Value -&gt; HashMap Text Value
</span><span class="hs-identifier">_</span></span><span> </span><span id="local-6989586621679117111"><span class="annot"><span class="annottext">Value
</span><a href="#local-6989586621679117111"><span class="hs-identifier hs-var">v</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Value
</span><a href="#local-6989586621679117111"><span class="hs-identifier hs-var">v</span></a></span><span>
</span><span class="hs-identifier">_</span></span><span> </span><span id="local-6989586621679117140"><span class="annot"><span class="annottext">Value
</span><a href="#local-6989586621679117140"><span class="hs-identifier hs-var">v</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Value
</span><a href="#local-6989586621679117140"><span class="hs-identifier hs-var">v</span></a></span><span>
</span><span id="line-20"></span><span>
</span><span id="line-21"></span><span class="hs-comment">-- | Rewrite each element of a JSON array using the function 'f'.</span><span>
</span><span id="line-22"></span><span class="hs-comment">--</span><span>
</span><span id="line-23"></span><span class="hs-comment">-- All other JSON values are preserved.</span><span>
</span><span id="line-24"></span><span class="annot"><a href="Hedgehog.Extras.Stock.Aeson.html#rewriteArrayElements"><span class="hs-identifier hs-type">rewriteArrayElements</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-special">(</span><span class="annot"><span class="hs-identifier hs-type">Value</span></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><span class="hs-identifier hs-type">Value</span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><span class="hs-identifier hs-type">Value</span></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><span class="hs-identifier hs-type">Value</span></span><span>
</span><span id="line-25"></span><span id="rewriteArrayElements"><span class="annot"><span class="annottext">rewriteArrayElements :: (Value -&gt; Value) -&gt; Value -&gt; Value
</span><a href="Hedgehog.Extras.Stock.Aeson.html#rewriteArrayElements"><span class="hs-identifier hs-var hs-var">rewriteArrayElements</span></a></span></span><span> </span><span id="local-6989586621679117110"><span class="annot"><span class="annottext">Value -&gt; Value
</span><a href="#local-6989586621679117110"><span class="hs-identifier hs-var">f</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="hs-identifier hs-type">Array</span></span><span> </span><span id="local-6989586621679117108"><span class="annot"><span class="annottext">Array
</span><a href="#local-6989586621679117108"><span class="hs-identifier hs-var">hm</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Array -&gt; Value
</span><a href="Hedgehog.Extras.Stock.Aeson.html#rewriteArrayElements"><span class="hs-identifier hs-var hs-var">rewriteArrayElements</span></a></span></span><span> </span><span id="local-6989586621679117139"><span class="annot"><span class="annottext">Value -&gt; Value
</span><a href="#local-6989586621679117139"><span class="hs-identifier hs-var">f</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="hs-identifier hs-type">Array</span></span><span> </span><span id="local-6989586621679117137"><span class="annot"><span class="annottext">Array
</span><a href="#local-6989586621679117137"><span class="hs-identifier hs-var">hm</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Array -&gt; Value
</span><span class="hs-identifier hs-var">Array</span></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">forall (f :: * -&gt; *) a b. Functor f =&gt; (a -&gt; b) -&gt; f a -&gt; f b
</span><a href="../file:///usr/local/.ghcup/ghc/9.2.5/share/doc/ghc-9.2.5/html/libraries/base-4.16.4.0/src"><span class="hs-identifier hs-var">fmap</span></a></span><span> </span><span class="annot"><span class="annottext">Value -&gt; Value
</span><a href="#local-6989586621679117110"><span class="hs-identifier hs-var">f</span></a></span><span> </span><span class="annot"><span class="annottext">Array
</span><a href="#local-6989586621679117108"><span class="hs-identifier hs-var">hm</span></a></span><span class="hs-special">)</span><span>
</span><a href="#local-6989586621679117139"><span class="hs-identifier hs-var">f</span></a></span><span> </span><span class="annot"><span class="annottext">Array
</span><a href="#local-6989586621679117137"><span class="hs-identifier hs-var">hm</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-26"></span><span class="annot"><a href="Hedgehog.Extras.Stock.Aeson.html#rewriteArrayElements"><span class="hs-identifier hs-var">rewriteArrayElements</span></a></span><span> </span><span class="annot"><span class="annottext">Value -&gt; Value
</span><span class="hs-identifier">_</span></span><span> </span><span id="local-6989586621679117107"><span class="annot"><span class="annottext">Value
</span><a href="#local-6989586621679117107"><span class="hs-identifier hs-var">v</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Value
</span><a href="#local-6989586621679117107"><span class="hs-identifier hs-var">v</span></a></span><span>
</span><span class="hs-identifier">_</span></span><span> </span><span id="local-6989586621679117136"><span class="annot"><span class="annottext">Value
</span><a href="#local-6989586621679117136"><span class="hs-identifier hs-var">v</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Value
</span><a href="#local-6989586621679117136"><span class="hs-identifier hs-var">v</span></a></span><span>
</span><span id="line-27"></span></pre></body></html>
10 changes: 5 additions & 5 deletions hedgehog-extras/src/Hedgehog.Extras.Stock.IO.File.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
</span><span id="line-13"></span><span class="hs-comment">-- | Determine if the given string is found in the given file.</span><span>
</span><span id="line-14"></span><span class="annot"><a href="Hedgehog.Extras.Stock.IO.File.html#fileContains"><span class="hs-identifier hs-type">fileContains</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="../file:///usr/local/.ghcup/ghc/9.2.5/share/doc/ghc-9.2.5/html/libraries/base-4.16.4.0/src"><span class="hs-identifier hs-type">String</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="../file:///usr/local/.ghcup/ghc/9.2.5/share/doc/ghc-9.2.5/html/libraries/base-4.16.4.0/src"><span class="hs-identifier hs-type">FilePath</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="../file:///usr/local/.ghcup/ghc/9.2.5/share/doc/ghc-9.2.5/html/libraries/ghc-prim-0.8.0/src"><span class="hs-identifier hs-type">IO</span></a></span><span> </span><span class="annot"><a href="../file:///usr/local/.ghcup/ghc/9.2.5/share/doc/ghc-9.2.5/html/libraries/ghc-prim-0.8.0/src"><span class="hs-identifier hs-type">Bool</span></a></span><span>
</span><span id="line-15"></span><span id="fileContains"><span class="annot"><span class="annottext">fileContains :: String -&gt; String -&gt; IO Bool
</span><a href="Hedgehog.Extras.Stock.IO.File.html#fileContains"><span class="hs-identifier hs-var hs-var">fileContains</span></a></span></span><span> </span><span id="local-6989586621679117163"><span class="annot"><span class="annottext">String
</span><a href="#local-6989586621679117163"><span class="hs-identifier hs-var">text</span></a></span></span><span> </span><span id="local-6989586621679117162"><span class="annot"><span class="annottext">String
</span><a href="#local-6989586621679117162"><span class="hs-identifier hs-var">path</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">String
</span><a href="#local-6989586621679117163"><span class="hs-identifier hs-var">text</span></a></span><span> </span><span class="annot"><span class="annottext">forall a. Eq a =&gt; [a] -&gt; [a] -&gt; Bool
</span><a href="Hedgehog.Extras.Stock.IO.File.html#fileContains"><span class="hs-identifier hs-var hs-var">fileContains</span></a></span></span><span> </span><span id="local-6989586621679117192"><span class="annot"><span class="annottext">String
</span><a href="#local-6989586621679117192"><span class="hs-identifier hs-var">text</span></a></span></span><span> </span><span id="local-6989586621679117191"><span class="annot"><span class="annottext">String
</span><a href="#local-6989586621679117191"><span class="hs-identifier hs-var">path</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">String
</span><a href="#local-6989586621679117192"><span class="hs-identifier hs-var">text</span></a></span><span> </span><span class="annot"><span class="annottext">forall a. Eq a =&gt; [a] -&gt; [a] -&gt; Bool
</span><a href="../file:///usr/local/.ghcup/ghc/9.2.5/share/doc/ghc-9.2.5/html/libraries/base-4.16.4.0/src"><span class="hs-operator hs-var">`L.isInfixOf`</span></a></span><span class="hs-special">)</span><span> </span><span class="annot"><span class="annottext">forall (f :: * -&gt; *) a b. Functor f =&gt; (a -&gt; b) -&gt; f a -&gt; f b
</span><a href="../file:///usr/local/.ghcup/ghc/9.2.5/share/doc/ghc-9.2.5/html/libraries/base-4.16.4.0/src"><span class="hs-operator hs-var">&lt;$&gt;</span></a></span><span> </span><span class="annot"><span class="annottext">String -&gt; IO String
</span><a href="../file:///usr/local/.ghcup/ghc/9.2.5/share/doc/ghc-9.2.5/html/libraries/base-4.16.4.0/src"><span class="hs-identifier hs-var">IO.readFile</span></a></span><span> </span><span class="annot"><span class="annottext">String
</span><a href="#local-6989586621679117162"><span class="hs-identifier hs-var">path</span></a></span><span>
</span><a href="#local-6989586621679117191"><span class="hs-identifier hs-var">path</span></a></span><span>
</span><span id="line-16"></span></pre></body></html>
Loading

0 comments on commit b91639c

Please sign in to comment.