Skip to content

Commit

Permalink
Deployed haddocks
Browse files Browse the repository at this point in the history
  • Loading branch information
coot committed Oct 11, 2024
1 parent 7b362ff commit 54ceb87
Show file tree
Hide file tree
Showing 27 changed files with 2,064 additions and 2,034 deletions.
2 changes: 1 addition & 1 deletion doc-index.json
Original file line number Diff line number Diff line change
Expand Up @@ -972,7 +972,7 @@
"link": "hedgehog-extras/Hedgehog-Extras-Test-Process.html#v:procFlex"
},
{
"display_html": "<a href=\"#v:binFlex\">binFlex</a> &#8759; (MonadTest m, <a href=\"file:///usr/local/.ghcup/ghc/9.2.5/share/doc/ghc-9.2.5/html/libraries/base-4.16.4.0/Control-Monad-IO-Class.html#t:MonadIO\" title=\"Control.Monad.IO.Class\">MonadIO</a> m) &#8658; <a href=\"file:///usr/local/.ghcup/ghc/9.2.5/share/doc/ghc-9.2.5/html/libraries/base-4.16.4.0/Data-String.html#t:String\" title=\"Data.String\">String</a> &#8594; <a href=\"file:///usr/local/.ghcup/ghc/9.2.5/share/doc/ghc-9.2.5/html/libraries/base-4.16.4.0/Data-String.html#t:String\" title=\"Data.String\">String</a> &#8594; m <a href=\"file:///usr/local/.ghcup/ghc/9.2.5/share/doc/ghc-9.2.5/html/libraries/base-4.16.4.0/System-IO.html#t:FilePath\" title=\"System.IO\">FilePath</a>",
"display_html": "<a href=\"#v:binFlex\">binFlex</a> &#8759; (<a href=\"file:///usr/local/.ghcup/ghc/9.2.5/share/doc/ghc-9.2.5/html/libraries/base-4.16.4.0/GHC-Stack.html#t:HasCallStack\" title=\"GHC.Stack\">HasCallStack</a>, MonadTest m, <a href=\"file:///usr/local/.ghcup/ghc/9.2.5/share/doc/ghc-9.2.5/html/libraries/base-4.16.4.0/Control-Monad-IO-Class.html#t:MonadIO\" title=\"Control.Monad.IO.Class\">MonadIO</a> m) &#8658; <a href=\"file:///usr/local/.ghcup/ghc/9.2.5/share/doc/ghc-9.2.5/html/libraries/base-4.16.4.0/Data-String.html#t:String\" title=\"Data.String\">String</a> &#8594; <a href=\"file:///usr/local/.ghcup/ghc/9.2.5/share/doc/ghc-9.2.5/html/libraries/base-4.16.4.0/Data-String.html#t:String\" title=\"Data.String\">String</a> &#8594; m <a href=\"file:///usr/local/.ghcup/ghc/9.2.5/share/doc/ghc-9.2.5/html/libraries/base-4.16.4.0/System-IO.html#t:FilePath\" title=\"System.IO\">FilePath</a>",
"name": "binFlex",
"module": "Hedgehog.Extras.Test.Process",
"link": "hedgehog-extras/Hedgehog-Extras-Test-Process.html#v:binFlex"
Expand Down
4 changes: 2 additions & 2 deletions hedgehog-extras/Hedgehog-Extras-Test-Process.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion hedgehog-extras/doc-index.json

Large diffs are not rendered by default.

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-6989586621679123361"><span class="annot"><span class="annottext">KeyMap Value -&gt; KeyMap Value
</span><a href="#local-6989586621679123361"><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-6989586621679123359"><span class="annot"><span class="annottext">KeyMap Value
</span><a href="#local-6989586621679123359"><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-6989586621679123426"><span class="annot"><span class="annottext">KeyMap Value -&gt; KeyMap Value
</span><a href="#local-6989586621679123426"><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-6989586621679123424"><span class="annot"><span class="annottext">KeyMap Value
</span><a href="#local-6989586621679123424"><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-6989586621679123361"><span class="hs-identifier hs-var">f</span></a></span><span> </span><span class="annot"><span class="annottext">KeyMap Value
</span><a href="#local-6989586621679123359"><span class="hs-identifier hs-var">hm</span></a></span><span class="hs-special">)</span><span>
</span><a href="#local-6989586621679123426"><span class="hs-identifier hs-var">f</span></a></span><span> </span><span class="annot"><span class="annottext">KeyMap Value
</span><a href="#local-6989586621679123424"><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-6989586621679123358"><span class="annot"><span class="annottext">Value
</span><a href="#local-6989586621679123358"><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-6989586621679123358"><span class="hs-identifier hs-var">v</span></a></span><span>
</span><span class="hs-identifier">_</span></span><span> </span><span id="local-6989586621679123423"><span class="annot"><span class="annottext">Value
</span><a href="#local-6989586621679123423"><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-6989586621679123423"><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-6989586621679123357"><span class="annot"><span class="annottext">Value -&gt; Value
</span><a href="#local-6989586621679123357"><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-6989586621679123355"><span class="annot"><span class="annottext">Array
</span><a href="#local-6989586621679123355"><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-6989586621679123422"><span class="annot"><span class="annottext">Value -&gt; Value
</span><a href="#local-6989586621679123422"><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-6989586621679123420"><span class="annot"><span class="annottext">Array
</span><a href="#local-6989586621679123420"><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-6989586621679123357"><span class="hs-identifier hs-var">f</span></a></span><span> </span><span class="annot"><span class="annottext">Array
</span><a href="#local-6989586621679123355"><span class="hs-identifier hs-var">hm</span></a></span><span class="hs-special">)</span><span>
</span><a href="#local-6989586621679123422"><span class="hs-identifier hs-var">f</span></a></span><span> </span><span class="annot"><span class="annottext">Array
</span><a href="#local-6989586621679123420"><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-6989586621679123354"><span class="annot"><span class="annottext">Value
</span><a href="#local-6989586621679123354"><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-6989586621679123354"><span class="hs-identifier hs-var">v</span></a></span><span>
</span><span class="hs-identifier">_</span></span><span> </span><span id="local-6989586621679123419"><span class="annot"><span class="annottext">Value
</span><a href="#local-6989586621679123419"><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-6989586621679123419"><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-6989586621679123396"><span class="annot"><span class="annottext">String
</span><a href="#local-6989586621679123396"><span class="hs-identifier hs-var">text</span></a></span></span><span> </span><span id="local-6989586621679123395"><span class="annot"><span class="annottext">String
</span><a href="#local-6989586621679123395"><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-6989586621679123396"><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-6989586621679123461"><span class="annot"><span class="annottext">String
</span><a href="#local-6989586621679123461"><span class="hs-identifier hs-var">text</span></a></span></span><span> </span><span id="local-6989586621679123460"><span class="annot"><span class="annottext">String
</span><a href="#local-6989586621679123460"><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-6989586621679123461"><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-6989586621679123395"><span class="hs-identifier hs-var">path</span></a></span><span>
</span><a href="#local-6989586621679123460"><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-6989586621679123407"><span class="annot"><span class="annottext">FilePath
</span><a href="#local-6989586621679123407"><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-6989586621679123472"><span class="annot"><span class="annottext">FilePath
</span><a href="#local-6989586621679123472"><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 54ceb87

Please sign in to comment.