hum-0.1.0.0: A TUI MPD client, inspired by ncmpcpp
Safe HaskellNone
LanguageHaskell2010

Hum.Utils

Description

 
Synopsis

Documentation

(?) :: (a -> b) -> (b -> c) -> a -> c infixl 8 Source #

A backwards function composition operator

meta :: Text -> Metadata -> Song -> Text Source #

Get comma seperated metedata from tag

mmeta :: Metadata -> Song -> Maybe Text Source #

like meta, but returns a Maybe for future use

getHighlighted :: (Eq e, Filterable t, Foldable t, Splittable t) => GenericList n t (e, Highlight) -> GenericList n t (e, Highlight) Source #

listPaste :: (Splittable t, Semigroup (t e)) => GenericList n t e -> GenericList n t e -> GenericList n t e Source #

listToggleHighlight :: Traversable t => GenericList n t (e, Highlight) -> GenericList n t (e, Highlight) Source #

toggle selected items highlight status

listHighlight :: Traversable t => GenericList n t (e, Highlight) -> GenericList n t (e, Highlight) Source #

Highlight selcted item status

listUnhighlightAll :: Traversable t => GenericList n t (e, Highlight) -> GenericList n t (e, Highlight) Source #