yi-keymap-vim-0.19.0: Vim keymap for Yi editor

License | GPL-2
Maintainer | yi-devel@googlegroups.com
Stability | experimental
Portability | portable
Safe Haskell | Safe-Inferred
Language | Haskell2010
Extensions | DeriveFunctor

Yi.Keymap.Vim.MatchResult

Description

# Documentation

data MatchResult a Source #

Constructors

NoMatch |
PartialMatch |
WholeMatch a |

#### Instances

Instances details

Alternative MatchResult Source # |
Instance details Defined in Yi.Keymap.Vim.MatchResult Methods empty :: MatchResult a Source # (<|>) :: MatchResult a -> MatchResult a -> MatchResult a Source # some :: MatchResult a -> MatchResult [a] Source # many :: MatchResult a -> MatchResult [a] Source #
Applicative MatchResult Source # |
Instance details Defined in Yi.Keymap.Vim.MatchResult Methods pure :: a -> MatchResult a Source # (<*>) :: MatchResult (a -> b) -> MatchResult a -> MatchResult b Source # liftA2 :: (a -> b -> c) -> MatchResult a -> MatchResult b -> MatchResult c Source # (*>) :: MatchResult a -> MatchResult b -> MatchResult b Source # (<*) :: MatchResult a -> MatchResult b -> MatchResult a Source #
Functor MatchResult Source # |
Instance details Defined in Yi.Keymap.Vim.MatchResult Methods fmap :: (a -> b) -> MatchResult a -> MatchResult b Source # (<$) :: a -> MatchResult b -> MatchResult a Source #
Show (MatchResult a) Source # |
Instance details Defined in Yi.Keymap.Vim.MatchResult Methods showsPrec :: Int -> MatchResult a -> ShowS Source # show :: MatchResult a -> String Source # showList :: [MatchResult a] -> ShowS Source #

matchFromBool :: Bool -> MatchResult () Source #

matchFromMaybe :: Maybe a -> MatchResult a Source #