crjdt-haskell-0.2.0.0: A Conflict-Free Replicated JSON Datatype for Haskell
Data.Crjdt.Internal.Core
data Val Source #
Constructors
Instances
Methods
(==) :: Val -> Val -> Bool #
(/=) :: Val -> Val -> Bool #
showsPrec :: Int -> Val -> ShowS #
show :: Val -> String #
showList :: [Val] -> ShowS #
fromString :: String -> Val #
data Cmd a Source #
fmap :: (a -> b) -> Cmd a -> Cmd b #
(<$) :: a -> Cmd b -> Cmd a #
wrap :: Cmd (Command a) -> Command a #
newtype Command a Source #
Fields
(>>=) :: Command a -> (a -> Command b) -> Command b #
(>>) :: Command a -> Command b -> Command b #
return :: a -> Command a #
fail :: String -> Command a #
fmap :: (a -> b) -> Command a -> Command b #
(<$) :: a -> Command b -> Command a #
pure :: a -> Command a #
(<*>) :: Command (a -> b) -> Command a -> Command b #
(*>) :: Command a -> Command b -> Command b #
(<*) :: Command a -> Command b -> Command a #
data Expr Source #
(==) :: Expr -> Expr -> Bool #
(/=) :: Expr -> Expr -> Bool #
showsPrec :: Int -> Expr -> ShowS #
show :: Expr -> String #
showList :: [Expr] -> ShowS #
fromString :: String -> Expr #