hsfm/src/MyPrelude.hs
Julian Ospald fe6145d5be
LIB/GTK: change DirTree again
we now have:
* AnchoredFile -- for representing a file with context
* File         -- for representing a file only

Both representations mean "file" in the broader sense, including
directories.
2015-12-21 00:41:02 +01:00

10 lines
112 B
Haskell

module MyPrelude where
import Data.List
listIndices :: [a] -> [Int]
listIndices = findIndices (const True)