-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
90 changed files
with
128 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><meta name="viewport" content="width=device-width, initial-scale=1" /><title>AoC.Utils</title><link href="linuwial.css" rel="stylesheet" type="text/css" title="Linuwial" /><link rel="stylesheet" type="text/css" href="quick-jump.css" /><link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=PT+Sans:400,400i,700" /><script src="haddock-bundle.min.js" async="async" type="text/javascript"></script><script type="text/x-mathjax-config">MathJax.Hub.Config({ tex2jax: { processClass: "mathjax", ignoreClass: ".*" } });</script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script></head><body><div id="package-header"><span class="caption">adventofcode-0.1.0.0: Haskell solutions to adventofcode</span><ul class="links" id="page-menu"><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul></div><div id="content"><div id="module-header"><table class="info"><tr><th>Safe Haskell</th><td>Safe-Inferred</td></tr><tr><th>Language</th><td>Haskell2010</td></tr></table><p class="caption">AoC.Utils</p></div><div id="synopsis"><details id="syn"><summary>Synopsis</summary><ul class="details-toggle" data-details-id="syn"><li class="src short"><a href="#v:-126--126-">(~~)</a> :: <a href="file:///nix/store/kkwqp82kc5d3zhpfhcgh47n7iy6l69m6-basement-lib-basement-0.0.12-haddock-doc/share/doc/basement/html/Basement-Compat-Base.html#t:Int" title="Basement.Compat.Base">Int</a> -> <a href="file:///nix/store/kkwqp82kc5d3zhpfhcgh47n7iy6l69m6-basement-lib-basement-0.0.12-haddock-doc/share/doc/basement/html/Basement-Compat-Base.html#t:Int" title="Basement.Compat.Base">Int</a> -> [<a href="file:///nix/store/kkwqp82kc5d3zhpfhcgh47n7iy6l69m6-basement-lib-basement-0.0.12-haddock-doc/share/doc/basement/html/Basement-Compat-Base.html#t:Int" title="Basement.Compat.Base">Int</a>]</li></ul></details></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><a id="v:-126--126-" class="def">(~~)</a> :: <a href="file:///nix/store/kkwqp82kc5d3zhpfhcgh47n7iy6l69m6-basement-lib-basement-0.0.12-haddock-doc/share/doc/basement/html/Basement-Compat-Base.html#t:Int" title="Basement.Compat.Base">Int</a> -> <a href="file:///nix/store/kkwqp82kc5d3zhpfhcgh47n7iy6l69m6-basement-lib-basement-0.0.12-haddock-doc/share/doc/basement/html/Basement-Compat-Base.html#t:Int" title="Basement.Compat.Base">Int</a> -> [<a href="file:///nix/store/kkwqp82kc5d3zhpfhcgh47n7iy6l69m6-basement-lib-basement-0.0.12-haddock-doc/share/doc/basement/html/Basement-Compat-Base.html#t:Int" title="Basement.Compat.Base">Int</a>] <span class="fixity">infixl 5</span><span class="rightedge"></span> <a href="#v:-126--126-" class="selflink">#</a></p><div class="doc"><p>Messing around with a custom operator for ranges that can handle both up-to | ||
and down-to.</p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.24.2</p></div></body></html> | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><meta name="viewport" content="width=device-width, initial-scale=1" /><title>AoC.Utils</title><link href="linuwial.css" rel="stylesheet" type="text/css" title="Linuwial" /><link rel="stylesheet" type="text/css" href="quick-jump.css" /><link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=PT+Sans:400,400i,700" /><script src="haddock-bundle.min.js" async="async" type="text/javascript"></script><script type="text/x-mathjax-config">MathJax.Hub.Config({ tex2jax: { processClass: "mathjax", ignoreClass: ".*" } });</script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script></head><body><div id="package-header"><span class="caption">adventofcode-0.1.0.0: Haskell solutions to adventofcode</span><ul class="links" id="page-menu"><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul></div><div id="content"><div id="module-header"><table class="info"><tr><th>Safe Haskell</th><td>Safe-Inferred</td></tr><tr><th>Language</th><td>Haskell2010</td></tr></table><p class="caption">AoC.Utils</p></div><div id="synopsis"><details id="syn"><summary>Synopsis</summary><ul class="details-toggle" data-details-id="syn"><li class="src short"><a href="#v:-126--126-">(~~)</a> :: <a href="file:///nix/store/biyi9kkik889n04fc74kj5fxx5b9pdns-ghc-9.2.8-doc/share/doc/ghc/html/libraries/base-4.16.4.0/Data-Int.html#t:Int" title="Data.Int">Int</a> -> <a href="file:///nix/store/biyi9kkik889n04fc74kj5fxx5b9pdns-ghc-9.2.8-doc/share/doc/ghc/html/libraries/base-4.16.4.0/Data-Int.html#t:Int" title="Data.Int">Int</a> -> [<a href="file:///nix/store/biyi9kkik889n04fc74kj5fxx5b9pdns-ghc-9.2.8-doc/share/doc/ghc/html/libraries/base-4.16.4.0/Data-Int.html#t:Int" title="Data.Int">Int</a>]</li></ul></details></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><a id="v:-126--126-" class="def">(~~)</a> :: <a href="file:///nix/store/biyi9kkik889n04fc74kj5fxx5b9pdns-ghc-9.2.8-doc/share/doc/ghc/html/libraries/base-4.16.4.0/Data-Int.html#t:Int" title="Data.Int">Int</a> -> <a href="file:///nix/store/biyi9kkik889n04fc74kj5fxx5b9pdns-ghc-9.2.8-doc/share/doc/ghc/html/libraries/base-4.16.4.0/Data-Int.html#t:Int" title="Data.Int">Int</a> -> [<a href="file:///nix/store/biyi9kkik889n04fc74kj5fxx5b9pdns-ghc-9.2.8-doc/share/doc/ghc/html/libraries/base-4.16.4.0/Data-Int.html#t:Int" title="Data.Int">Int</a>] <span class="fixity">infixl 5</span><span class="rightedge"></span> <a href="#v:-126--126-" class="selflink">#</a></p><div class="doc"><p>Messing around with a custom operator for ranges that can handle both up-to | ||
and down-to.</p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.26.0</p></div></body></html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><meta name="viewport" content="width=device-width, initial-scale=1" /><title>AoC</title><link href="linuwial.css" rel="stylesheet" type="text/css" title="Linuwial" /><link rel="stylesheet" type="text/css" href="quick-jump.css" /><link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=PT+Sans:400,400i,700" /><script src="haddock-bundle.min.js" async="async" type="text/javascript"></script><script type="text/x-mathjax-config">MathJax.Hub.Config({ tex2jax: { processClass: "mathjax", ignoreClass: ".*" } });</script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script></head><body><div id="package-header"><span class="caption">adventofcode-0.1.0.0: Haskell solutions to adventofcode</span><ul class="links" id="page-menu"><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul></div><div id="content"><div id="module-header"><table class="info"><tr><th>Safe Haskell</th><td>None</td></tr><tr><th>Language</th><td>Haskell2010</td></tr></table><p class="caption">AoC</p></div><div id="synopsis"><details id="syn"><summary>Synopsis</summary><ul class="details-toggle" data-details-id="syn"><li class="src short"><a href="#v:solve">solve</a> :: <a href="file:///nix/store/kkwqp82kc5d3zhpfhcgh47n7iy6l69m6-basement-lib-basement-0.0.12-haddock-doc/share/doc/basement/html/Basement-Compat-Base.html#t:Int" title="Basement.Compat.Base">Int</a> -> <a href="file:///nix/store/kkwqp82kc5d3zhpfhcgh47n7iy6l69m6-basement-lib-basement-0.0.12-haddock-doc/share/doc/basement/html/Basement-Compat-Base.html#t:Int" title="Basement.Compat.Base">Int</a> -> <a href="file:///nix/store/kkwqp82kc5d3zhpfhcgh47n7iy6l69m6-basement-lib-basement-0.0.12-haddock-doc/share/doc/basement/html/Basement-Compat-Base.html#t:Char" title="Basement.Compat.Base">Char</a> -> Text -> <a href="file:///nix/store/4hnv9f9dx38xsjj18wz76dxnpvzbpam0-base-compat-lib-base-compat-0.12.1-haddock-doc/share/doc/base-compat/html/Data-String-Compat.html#t:String" title="Data.String.Compat">String</a></li></ul></details></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><a id="v:solve" class="def">solve</a> :: <a href="file:///nix/store/kkwqp82kc5d3zhpfhcgh47n7iy6l69m6-basement-lib-basement-0.0.12-haddock-doc/share/doc/basement/html/Basement-Compat-Base.html#t:Int" title="Basement.Compat.Base">Int</a> -> <a href="file:///nix/store/kkwqp82kc5d3zhpfhcgh47n7iy6l69m6-basement-lib-basement-0.0.12-haddock-doc/share/doc/basement/html/Basement-Compat-Base.html#t:Int" title="Basement.Compat.Base">Int</a> -> <a href="file:///nix/store/kkwqp82kc5d3zhpfhcgh47n7iy6l69m6-basement-lib-basement-0.0.12-haddock-doc/share/doc/basement/html/Basement-Compat-Base.html#t:Char" title="Basement.Compat.Base">Char</a> -> Text -> <a href="file:///nix/store/4hnv9f9dx38xsjj18wz76dxnpvzbpam0-base-compat-lib-base-compat-0.12.1-haddock-doc/share/doc/base-compat/html/Data-String-Compat.html#t:String" title="Data.String.Compat">String</a> <a href="#v:solve" class="selflink">#</a></p><div class="doc"><p>Is there a nicer way to "dynamically" invoke these module functions based on | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><meta name="viewport" content="width=device-width, initial-scale=1" /><title>AoC</title><link href="linuwial.css" rel="stylesheet" type="text/css" title="Linuwial" /><link rel="stylesheet" type="text/css" href="quick-jump.css" /><link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=PT+Sans:400,400i,700" /><script src="haddock-bundle.min.js" async="async" type="text/javascript"></script><script type="text/x-mathjax-config">MathJax.Hub.Config({ tex2jax: { processClass: "mathjax", ignoreClass: ".*" } });</script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script></head><body><div id="package-header"><span class="caption">adventofcode-0.1.0.0: Haskell solutions to adventofcode</span><ul class="links" id="page-menu"><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul></div><div id="content"><div id="module-header"><table class="info"><tr><th>Safe Haskell</th><td>Safe-Inferred</td></tr><tr><th>Language</th><td>Haskell2010</td></tr></table><p class="caption">AoC</p></div><div id="synopsis"><details id="syn"><summary>Synopsis</summary><ul class="details-toggle" data-details-id="syn"><li class="src short"><a href="#v:solve">solve</a> :: <a href="file:///nix/store/biyi9kkik889n04fc74kj5fxx5b9pdns-ghc-9.2.8-doc/share/doc/ghc/html/libraries/base-4.16.4.0/Data-Int.html#t:Int" title="Data.Int">Int</a> -> <a href="file:///nix/store/biyi9kkik889n04fc74kj5fxx5b9pdns-ghc-9.2.8-doc/share/doc/ghc/html/libraries/base-4.16.4.0/Data-Int.html#t:Int" title="Data.Int">Int</a> -> <a href="file:///nix/store/biyi9kkik889n04fc74kj5fxx5b9pdns-ghc-9.2.8-doc/share/doc/ghc/html/libraries/base-4.16.4.0/Data-Char.html#t:Char" title="Data.Char">Char</a> -> [<a href="file:///nix/store/biyi9kkik889n04fc74kj5fxx5b9pdns-ghc-9.2.8-doc/share/doc/ghc/html/libraries/base-4.16.4.0/Data-String.html#t:String" title="Data.String">String</a>] -> <a href="file:///nix/store/biyi9kkik889n04fc74kj5fxx5b9pdns-ghc-9.2.8-doc/share/doc/ghc/html/libraries/base-4.16.4.0/Data-Maybe.html#t:Maybe" title="Data.Maybe">Maybe</a> <a href="file:///nix/store/fm1s8rjxvgbgc5g05v59vpc0jxalny0f-text-lib-text-1.2.5.0-haddock-doc/share/doc/text/html/Data-Text.html#t:Text" title="Data.Text">Text</a> -> <a href="file:///nix/store/biyi9kkik889n04fc74kj5fxx5b9pdns-ghc-9.2.8-doc/share/doc/ghc/html/libraries/base-4.16.4.0/Data-String.html#t:String" title="Data.String">String</a></li></ul></details></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><a id="v:solve" class="def">solve</a> :: <a href="file:///nix/store/biyi9kkik889n04fc74kj5fxx5b9pdns-ghc-9.2.8-doc/share/doc/ghc/html/libraries/base-4.16.4.0/Data-Int.html#t:Int" title="Data.Int">Int</a> -> <a href="file:///nix/store/biyi9kkik889n04fc74kj5fxx5b9pdns-ghc-9.2.8-doc/share/doc/ghc/html/libraries/base-4.16.4.0/Data-Int.html#t:Int" title="Data.Int">Int</a> -> <a href="file:///nix/store/biyi9kkik889n04fc74kj5fxx5b9pdns-ghc-9.2.8-doc/share/doc/ghc/html/libraries/base-4.16.4.0/Data-Char.html#t:Char" title="Data.Char">Char</a> -> [<a href="file:///nix/store/biyi9kkik889n04fc74kj5fxx5b9pdns-ghc-9.2.8-doc/share/doc/ghc/html/libraries/base-4.16.4.0/Data-String.html#t:String" title="Data.String">String</a>] -> <a href="file:///nix/store/biyi9kkik889n04fc74kj5fxx5b9pdns-ghc-9.2.8-doc/share/doc/ghc/html/libraries/base-4.16.4.0/Data-Maybe.html#t:Maybe" title="Data.Maybe">Maybe</a> <a href="file:///nix/store/fm1s8rjxvgbgc5g05v59vpc0jxalny0f-text-lib-text-1.2.5.0-haddock-doc/share/doc/text/html/Data-Text.html#t:Text" title="Data.Text">Text</a> -> <a href="file:///nix/store/biyi9kkik889n04fc74kj5fxx5b9pdns-ghc-9.2.8-doc/share/doc/ghc/html/libraries/base-4.16.4.0/Data-String.html#t:String" title="Data.String">String</a> <a href="#v:solve" class="selflink">#</a></p><div class="doc"><p>Is there a nicer way to "dynamically" invoke these module functions based on | ||
year/day input? Maybe. But a big fat pattern match works, too. The small bit of | ||
glue between the outside world Main call and the solver functions.</p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.24.2</p></div></body></html> | ||
glue between the outside world Main call and the solver functions.</p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.26.0</p></div></body></html> |
Oops, something went wrong.