simple-ui-0.2.0: UI library for terminal.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Simple.UI.Core.Attribute

Documentation

get :: MonadIO m => s -> (s -> Attribute a) -> m a Source #

set :: MonadIO m => s -> (s -> Attribute a) -> a -> m () Source #

modify :: MonadIO m => s -> (s -> Attribute a) -> (a -> a) -> m () Source #

add :: MonadIO m => s -> (s -> AttributeList a) -> (b -> a) -> b -> m () Source #

add' :: MonadIO m => s -> (s -> AttributeList a) -> a -> m () Source #

readAttr :: MonadIO m => Attribute a -> m a Source #

writeAttr :: MonadIO m => Attribute a -> a -> m () Source #

modifyAttr :: MonadIO m => Attribute a -> (a -> a) -> m () Source #