4fd8537d0e
travis build: 31
commit: 46334687c9
auto-pushed to gh-pages
6 lines
2.8 KiB
HTML
6 lines
2.8 KiB
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" /><title>HSFM.Utils.MyPrelude</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
|
|
window.onload = function () {pageLoad();setSynopsis("mini_HSFM-Utils-MyPrelude.html");};
|
|
//]]>
|
|
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/HSFM-Utils-MyPrelude.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">hsfm-gtk</p></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">HSFM.Utils.MyPrelude</p></div><div id="synopsis"><p id="control.syn" class="caption expander" onclick="toggleSection('syn')">Synopsis</p><ul id="section.syn" class="hide" onclick="toggleSection('syn')"><li class="src short"><a href="#v:listIndices">listIndices</a> :: [a] -> [<a href="https://hackage.haskell.org/package/base-4.9.0.0/docs/Data-Int.html#t:Int">Int</a>]</li><li class="src short"><a href="#v:maybeD">maybeD</a> :: Default b => (a -> b) -> <a href="https://hackage.haskell.org/package/base-4.9.0.0/docs/Data-Maybe.html#t:Maybe">Maybe</a> a -> b</li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><a id="v:listIndices" class="def">listIndices</a> :: [a] -> [<a href="https://hackage.haskell.org/package/base-4.9.0.0/docs/Data-Int.html#t:Int">Int</a>] <a href="src/HSFM-Utils-MyPrelude.html#listIndices" class="link">Source</a> <a href="#v:listIndices" class="selflink">#</a></p><div class="doc"><p>Turns any list into a list of the same length with the values
|
|
being the indices.
|
|
E.g.: "abdasd" -> [0,1,2,3,4,5]</p></div></div><div class="top"><p class="src"><a id="v:maybeD" class="def">maybeD</a> :: Default b => (a -> b) -> <a href="https://hackage.haskell.org/package/base-4.9.0.0/docs/Data-Maybe.html#t:Maybe">Maybe</a> a -> b <a href="src/HSFM-Utils-MyPrelude.html#maybeD" class="link">Source</a> <a href="#v:maybeD" class="selflink">#</a></p><div class="doc"><p>A <code><a href="https://hackage.haskell.org/package/base-4.9.0.0/docs/Data-Maybe.html#v:maybe">maybe</a></code> flavor using the <code>Default</code> class.</p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.17.2</p></div></body></html> |