Copyright | (c) Sergey Vinokurov 2018 |
---|---|
License | BSD3-style (see LICENSE) |
Maintainer | serg.foo@gmail.com |
Safe Haskell | Safe |
Language | Haskell2010 |
Synopsis
- data FuncallExit a
- funcallExitToNum :: Num a => FuncallExit b -> a
- funcallExitFromNum :: (Eq a, Num a) => a -> Maybe (FuncallExit ())
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 #