<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><htmlxmlns="http://www.w3.org/1999/xhtml"><head><metahttp-equiv="Content-Type"content="text/html; charset=UTF-8"/><title>HSFM.Utils.MyPrelude</title><linkhref="ocean.css"rel="stylesheet"type="text/css"title="Ocean"/><scriptsrc="haddock-util.js"type="text/javascript"></script><scriptsrc="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"type="text/javascript"></script><scripttype="text/javascript">//<![CDATA[
</script></head><body><divid="package-header"><ulclass="links"id="page-menu"><li><ahref="src/HSFM-Utils-MyPrelude.html">Source</a></li><li><ahref="index.html">Contents</a></li><li><ahref="doc-index.html">Index</a></li></ul><pclass="caption">hsfm-gtk</p></div><divid="content"><divid="module-header"><tableclass="info"><tr><th>Safe Haskell</th><td>None</td></tr><tr><th>Language</th><td>Haskell2010</td></tr></table><pclass="caption">HSFM.Utils.MyPrelude</p></div><divid="synopsis"><pid="control.syn"class="caption expander"onclick="toggleSection('syn')">Synopsis</p><ulid="section.syn"class="hide"onclick="toggleSection('syn')"><liclass="src short"><ahref="#v:listIndices">listIndices</a> :: [a] -> [<ahref="https://hackage.haskell.org/package/base-4.9.0.0/docs/Data-Int.html#t:Int">Int</a>]</li><liclass="src short"><ahref="#v:maybeD">maybeD</a> :: Default b => (a -> b) -><ahref="https://hackage.haskell.org/package/base-4.9.0.0/docs/Data-Maybe.html#t:Maybe">Maybe</a> a -> b</li></ul></div><divid="interface"><h1>Documentation</h1><divclass="top"><pclass="src"><aid="v:listIndices"class="def">listIndices</a> :: [a] -> [<ahref="https://hackage.haskell.org/package/base-4.9.0.0/docs/Data-Int.html#t:Int">Int</a>] <ahref="src/HSFM-Utils-MyPrelude.html#listIndices"class="link">Source</a><ahref="#v:listIndices"class="selflink">#</a></p><divclass="doc"><p>Turns any list into a list of the same length with the values
E.g.: "abdasd" -> [0,1,2,3,4,5]</p></div></div><divclass="top"><pclass="src"><aid="v:maybeD"class="def">maybeD</a> :: Default b => (a -> b) -><ahref="https://hackage.haskell.org/package/base-4.9.0.0/docs/Data-Maybe.html#t:Maybe">Maybe</a> a -> b <ahref="src/HSFM-Utils-MyPrelude.html#maybeD"class="link">Source</a><ahref="#v:maybeD"class="selflink">#</a></p><divclass="doc"><p>A <code><ahref="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><divid="footer"><p>Produced by <ahref="http://www.haskell.org/haddock/">Haddock</a> version 2.17.2</p></div></body></html>