Copyright | (c) Sergey Vinokurov 2018 |
---|---|
License | Apache-2.0 (see LICENSE) |
Maintainer | serg.foo@gmail.com |
Safe Haskell | Safe-Inferred |
Language | GHC2021 |
Synopsis
- data FuncallExit a
- funcallExitToNum :: Num a => FuncallExit b -> a
- funcallExitFromNum :: (Eq a, Num a) => a -> Maybe (FuncallExit ())
- foldFuncallExitFromNum :: (Eq a, Num a) => a -> b -> (FuncallExit () -> b) -> b
Documentation
data FuncallExit a Source #
Possible Emacs function call outcomes. This is Haskell's version of
FuncallExitReturn | Function has returned normally. |
FuncallExitSignal a | Function has signaled an error using |
FuncallExitThrow a | Function has exit using |
Instances
funcallExitToNum :: Num a => FuncallExit b -> a Source #
funcallExitFromNum :: (Eq a, Num a) => a -> Maybe (FuncallExit ()) Source #
foldFuncallExitFromNum :: (Eq a, Num a) => a -> b -> (FuncallExit () -> b) -> b Source #