hsfm-gtk
HSFM.Utils.MyPrelude
Synopsis
listIndices :: [a] -> [Int] Source #
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]
maybeD :: Default b => (a -> b) -> Maybe a -> b Source #
A maybe flavor using the Default class.
maybe
Default