Skip to content

Commit

Permalink
Deployed haddocks
Browse files Browse the repository at this point in the history
  • Loading branch information
coot committed Feb 7, 2024
1 parent 9a918ee commit e256248
Show file tree
Hide file tree
Showing 23 changed files with 1,584 additions and 1,584 deletions.
6 changes: 3 additions & 3 deletions doc-index.json
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,7 @@
"link": "hedgehog-extras/Hedgehog-Extras-Test-File.html#v:rewriteLbsJson"
},
{
"display_html": "<a href=\"#v:copyRewriteYamlFile\">copyRewriteYamlFile</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, FromJSON a, ToJSON a, <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>) &#8658; <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> &#8594; <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> &#8594; (a &#8594; a) &#8594; m ()",
"display_html": "<a href=\"#v:copyRewriteYamlFile\">copyRewriteYamlFile</a> &#8759; &#8704; a m. (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, FromJSON a, ToJSON a, <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>) &#8658; <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> &#8594; <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> &#8594; (a &#8594; a) &#8594; m ()",
"name": "copyRewriteYamlFile",
"module": "Hedgehog.Extras.Test.File",
"link": "hedgehog-extras/Hedgehog-Extras-Test-File.html#v:copyRewriteYamlFile"
Expand All @@ -672,13 +672,13 @@
"link": "hedgehog-extras/Hedgehog-Extras-Test-File.html#v:readYamlFileOk"
},
{
"display_html": "<a href=\"#v:rewriteYamlFile\">rewriteYamlFile</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, FromJSON a, ToJSON a, <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>) &#8658; <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> &#8594; (a &#8594; a) &#8594; m ()",
"display_html": "<a href=\"#v:rewriteYamlFile\">rewriteYamlFile</a> &#8759; &#8704; a m. (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, FromJSON a, ToJSON a, <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>) &#8658; <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> &#8594; (a &#8594; a) &#8594; m ()",
"name": "rewriteYamlFile",
"module": "Hedgehog.Extras.Test.File",
"link": "hedgehog-extras/Hedgehog-Extras-Test-File.html#v:rewriteYamlFile"
},
{
"display_html": "<a href=\"#v:rewriteLbsYaml\">rewriteLbsYaml</a> &#8759; (MonadTest m, FromJSON a, ToJSON a, <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>) &#8658; (a &#8594; a) &#8594; ByteString &#8594; m ByteString",
"display_html": "<a href=\"#v:rewriteLbsYaml\">rewriteLbsYaml</a> &#8759; &#8704; a m. (MonadTest m, FromJSON a, ToJSON a, <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>) &#8658; (a &#8594; a) &#8594; ByteString &#8594; m ByteString",
"name": "rewriteLbsYaml",
"module": "Hedgehog.Extras.Test.File",
"link": "hedgehog-extras/Hedgehog-Extras-Test-File.html#v:rewriteLbsYaml"
Expand Down
4 changes: 2 additions & 2 deletions hedgehog-extras/Hedgehog-Extras-Test-File.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.

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-6989586621679117848"><span class="annot"><span class="annottext">KeyMap Value -&gt; KeyMap Value
</span><a href="#local-6989586621679117848"><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-6989586621679117846"><span class="annot"><span class="annottext">KeyMap Value
</span><a href="#local-6989586621679117846"><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-6989586621679117851"><span class="annot"><span class="annottext">KeyMap Value -&gt; KeyMap Value
</span><a href="#local-6989586621679117851"><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-6989586621679117849"><span class="annot"><span class="annottext">KeyMap Value
</span><a href="#local-6989586621679117849"><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-6989586621679117848"><span class="hs-identifier hs-var">f</span></a></span><span> </span><span class="annot"><span class="annottext">KeyMap Value
</span><a href="#local-6989586621679117846"><span class="hs-identifier hs-var">hm</span></a></span><span class="hs-special">)</span><span>
</span><a href="#local-6989586621679117851"><span class="hs-identifier hs-var">f</span></a></span><span> </span><span class="annot"><span class="annottext">KeyMap Value
</span><a href="#local-6989586621679117849"><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-6989586621679117845"><span class="annot"><span class="annottext">Value
</span><a href="#local-6989586621679117845"><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-6989586621679117845"><span class="hs-identifier hs-var">v</span></a></span><span>
</span><span class="hs-identifier">_</span></span><span> </span><span id="local-6989586621679117848"><span class="annot"><span class="annottext">Value
</span><a href="#local-6989586621679117848"><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-6989586621679117848"><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-6989586621679117844"><span class="annot"><span class="annottext">Value -&gt; Value
</span><a href="#local-6989586621679117844"><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-6989586621679117842"><span class="annot"><span class="annottext">Array
</span><a href="#local-6989586621679117842"><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-6989586621679117847"><span class="annot"><span class="annottext">Value -&gt; Value
</span><a href="#local-6989586621679117847"><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-6989586621679117845"><span class="annot"><span class="annottext">Array
</span><a href="#local-6989586621679117845"><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-6989586621679117844"><span class="hs-identifier hs-var">f</span></a></span><span> </span><span class="annot"><span class="annottext">Array
</span><a href="#local-6989586621679117842"><span class="hs-identifier hs-var">hm</span></a></span><span class="hs-special">)</span><span>
</span><a href="#local-6989586621679117847"><span class="hs-identifier hs-var">f</span></a></span><span> </span><span class="annot"><span class="annottext">Array
</span><a href="#local-6989586621679117845"><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-6989586621679117841"><span class="annot"><span class="annottext">Value
</span><a href="#local-6989586621679117841"><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-6989586621679117841"><span class="hs-identifier hs-var">v</span></a></span><span>
</span><span class="hs-identifier">_</span></span><span> </span><span id="local-6989586621679117844"><span class="annot"><span class="annottext">Value
</span><a href="#local-6989586621679117844"><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-6989586621679117844"><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-6989586621679117883"><span class="annot"><span class="annottext">String
</span><a href="#local-6989586621679117883"><span class="hs-identifier hs-var">text</span></a></span></span><span> </span><span id="local-6989586621679117882"><span class="annot"><span class="annottext">String
</span><a href="#local-6989586621679117882"><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-6989586621679117883"><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-6989586621679117886"><span class="annot"><span class="annottext">String
</span><a href="#local-6989586621679117886"><span class="hs-identifier hs-var">text</span></a></span></span><span> </span><span id="local-6989586621679117885"><span class="annot"><span class="annottext">String
</span><a href="#local-6989586621679117885"><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-6989586621679117886"><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-6989586621679117882"><span class="hs-identifier hs-var">path</span></a></span><span>
</span><a href="#local-6989586621679117885"><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 e256248

Please sign in to comment.