Skip to content

Commit

Permalink
Deployed haddocks
Browse files Browse the repository at this point in the history
  • Loading branch information
coot committed Jan 3, 2024
1 parent d79eae2 commit 1d2253c
Show file tree
Hide file tree
Showing 21 changed files with 1,682 additions and 1,627 deletions.
Binary file modified hedgehog-extras/hedgehog-extras.haddock
Binary file not shown.
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.

32 changes: 16 additions & 16 deletions hedgehog-extras/src/Hedgehog.Extras.Stock.Aeson.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,31 +12,31 @@
</span><span id="line-12"></span><span class="hs-comment">-- All other JSON values are preserved.</span><span>
</span><span id="line-13"></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">KeyMap</span></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">KeyMap</span></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-14"></span><span id="rewriteObject"><span class="annot"><span class="annottext">rewriteObject :: (KeyMap Value -&gt; KeyMap 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-6989586621679118212"><span class="annot"><span class="annottext">KeyMap Value -&gt; KeyMap Value
</span><a href="#local-6989586621679118212"><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-6989586621679118210"><span class="annot"><span class="annottext">KeyMap Value
</span><a href="#local-6989586621679118210"><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">KeyMap 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-6989586621679118341"><span class="annot"><span class="annottext">KeyMap Value -&gt; KeyMap Value
</span><a href="#local-6989586621679118341"><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-6989586621679118339"><span class="annot"><span class="annottext">KeyMap Value
</span><a href="#local-6989586621679118339"><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">KeyMap Value -&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">KeyMap Value -&gt; KeyMap Value
</span><a href="#local-6989586621679118212"><span class="hs-identifier hs-var">f</span></a></span><span> </span><span class="annot"><span class="annottext">KeyMap Value
</span><a href="#local-6989586621679118210"><span class="hs-identifier hs-var">hm</span></a></span><span class="hs-special">)</span><span>
</span><a href="#local-6989586621679118341"><span class="hs-identifier hs-var">f</span></a></span><span> </span><span class="annot"><span class="annottext">KeyMap Value
</span><a href="#local-6989586621679118339"><span class="hs-identifier hs-var">hm</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-15"></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">KeyMap Value -&gt; KeyMap Value
</span><span class="hs-identifier">_</span></span><span> </span><span id="local-6989586621679118209"><span class="annot"><span class="annottext">Value
</span><a href="#local-6989586621679118209"><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-6989586621679118209"><span class="hs-identifier hs-var">v</span></a></span><span>
</span><span class="hs-identifier">_</span></span><span> </span><span id="local-6989586621679118338"><span class="annot"><span class="annottext">Value
</span><a href="#local-6989586621679118338"><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-6989586621679118338"><span class="hs-identifier hs-var">v</span></a></span><span>
</span><span id="line-16"></span><span>
</span><span id="line-17"></span><span class="hs-comment">-- | Rewrite each element of a JSON array using the function 'f'.</span><span>
</span><span id="line-18"></span><span class="hs-comment">--</span><span>
</span><span id="line-19"></span><span class="hs-comment">-- All other JSON values are preserved.</span><span>
</span><span id="line-20"></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-21"></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-6989586621679118208"><span class="annot"><span class="annottext">Value -&gt; Value
</span><a href="#local-6989586621679118208"><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-6989586621679118206"><span class="annot"><span class="annottext">Array
</span><a href="#local-6989586621679118206"><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-6989586621679118337"><span class="annot"><span class="annottext">Value -&gt; Value
</span><a href="#local-6989586621679118337"><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-6989586621679118335"><span class="annot"><span class="annottext">Array
</span><a href="#local-6989586621679118335"><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-6989586621679118208"><span class="hs-identifier hs-var">f</span></a></span><span> </span><span class="annot"><span class="annottext">Array
</span><a href="#local-6989586621679118206"><span class="hs-identifier hs-var">hm</span></a></span><span class="hs-special">)</span><span>
</span><a href="#local-6989586621679118337"><span class="hs-identifier hs-var">f</span></a></span><span> </span><span class="annot"><span class="annottext">Array
</span><a href="#local-6989586621679118335"><span class="hs-identifier hs-var">hm</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-22"></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-6989586621679118205"><span class="annot"><span class="annottext">Value
</span><a href="#local-6989586621679118205"><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-6989586621679118205"><span class="hs-identifier hs-var">v</span></a></span><span>
</span><span class="hs-identifier">_</span></span><span> </span><span id="local-6989586621679118334"><span class="annot"><span class="annottext">Value
</span><a href="#local-6989586621679118334"><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-6989586621679118334"><span class="hs-identifier hs-var">v</span></a></span><span>
</span><span id="line-23"></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-6989586621679118247"><span class="annot"><span class="annottext">String
</span><a href="#local-6989586621679118247"><span class="hs-identifier hs-var">text</span></a></span></span><span> </span><span id="local-6989586621679118246"><span class="annot"><span class="annottext">String
</span><a href="#local-6989586621679118246"><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-6989586621679118247"><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-6989586621679118376"><span class="annot"><span class="annottext">String
</span><a href="#local-6989586621679118376"><span class="hs-identifier hs-var">text</span></a></span></span><span> </span><span id="local-6989586621679118375"><span class="annot"><span class="annottext">String
</span><a href="#local-6989586621679118375"><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-6989586621679118376"><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-6989586621679118246"><span class="hs-identifier hs-var">path</span></a></span><span>
</span><a href="#local-6989586621679118375"><span class="hs-identifier hs-var">path</span></a></span><span>
</span><span id="line-16"></span></pre></body></html>
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
</span><span>
</span><span id="line-18"></span><span class="annot"><a href="Hedgehog.Extras.Stock.IO.Network.NamedPipe.html#doesNamedPipeExist"><span class="hs-identifier hs-type">doesNamedPipeExist</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">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-19"></span><span id="doesNamedPipeExist"><span class="annot"><span class="annottext">doesNamedPipeExist :: FilePath -&gt; IO Bool
</span><a href="Hedgehog.Extras.Stock.IO.Network.NamedPipe.html#doesNamedPipeExist"><span class="hs-identifier hs-var hs-var">doesNamedPipeExist</span></a></span></span><span> </span><span id="local-6989586621679118258"><span class="annot"><span class="annottext">FilePath
</span><a href="#local-6989586621679118258"><span class="hs-identifier hs-var">path</span></a></span></span><span> </span><span class="hs-glyph">=</span><span class="hs-cpp">
</span><a href="Hedgehog.Extras.Stock.IO.Network.NamedPipe.html#doesNamedPipeExist"><span class="hs-identifier hs-var hs-var">doesNamedPipeExist</span></a></span></span><span> </span><span id="local-6989586621679118387"><span class="annot"><span class="annottext">FilePath
</span><a href="#local-6989586621679118387"><span class="hs-identifier hs-var">path</span></a></span></span><span> </span><span class="hs-glyph">=</span><span class="hs-cpp">
#ifdef mingw32_HOST_OS
</span><span> </span><span class="hs-identifier">W32.waitNamedPipe</span><span> </span><span class="hs-identifier">path</span><span> </span><span class="hs-number">1</span><span class="hs-cpp">
#else
Expand Down
Loading

0 comments on commit 1d2253c

Please sign in to comment.