jsonnet-0.2.0.0: Jsonnet implementaton in pure Haskell
Safe HaskellNone
LanguageHaskell2010

Language.Jsonnet

Documentation

data JsonnetM a Source #

Instances

Instances details
Monad JsonnetM Source # 
Instance details

Defined in Language.Jsonnet

Methods

(>>=) :: JsonnetM a -> (a -> JsonnetM b) -> JsonnetM b #

(>>) :: JsonnetM a -> JsonnetM b -> JsonnetM b #

return :: a -> JsonnetM a #

Functor JsonnetM Source # 
Instance details

Defined in Language.Jsonnet

Methods

fmap :: (a -> b) -> JsonnetM a -> JsonnetM b #

(<$) :: a -> JsonnetM b -> JsonnetM a #

MonadFix JsonnetM Source # 
Instance details

Defined in Language.Jsonnet

Methods

mfix :: (a -> JsonnetM a) -> JsonnetM a #

MonadFail JsonnetM Source # 
Instance details

Defined in Language.Jsonnet

Methods

fail :: String -> JsonnetM a #

Applicative JsonnetM Source # 
Instance details

Defined in Language.Jsonnet

Methods

pure :: a -> JsonnetM a #

(<*>) :: JsonnetM (a -> b) -> JsonnetM a -> JsonnetM b #

liftA2 :: (a -> b -> c) -> JsonnetM a -> JsonnetM b -> JsonnetM c #

(*>) :: JsonnetM a -> JsonnetM b -> JsonnetM b #

(<*) :: JsonnetM a -> JsonnetM b -> JsonnetM a #

MonadIO JsonnetM Source # 
Instance details

Defined in Language.Jsonnet

Methods

liftIO :: IO a -> JsonnetM a #

MonadThrow JsonnetM Source # 
Instance details

Defined in Language.Jsonnet

Methods

throwM :: Exception e => e -> JsonnetM a #

MonadCatch JsonnetM Source # 
Instance details

Defined in Language.Jsonnet

Methods

catch :: Exception e => JsonnetM a -> (e -> JsonnetM a) -> JsonnetM a #

MonadMask JsonnetM Source # 
Instance details

Defined in Language.Jsonnet

Methods

mask :: ((forall a. JsonnetM a -> JsonnetM a) -> JsonnetM b) -> JsonnetM b #

uninterruptibleMask :: ((forall a. JsonnetM a -> JsonnetM a) -> JsonnetM b) -> JsonnetM b #

generalBracket :: JsonnetM a -> (a -> ExitCase b -> JsonnetM c) -> (a -> JsonnetM b) -> JsonnetM (b, c) #

MonadReader Config JsonnetM Source # 
Instance details

Defined in Language.Jsonnet

Methods

ask :: JsonnetM Config #

local :: (Config -> Config) -> JsonnetM a -> JsonnetM a #

reader :: (Config -> a) -> JsonnetM a #

MonadError Error JsonnetM Source # 
Instance details

Defined in Language.Jsonnet

Methods

throwError :: Error -> JsonnetM a #

catchError :: JsonnetM a -> (Error -> JsonnetM a) -> JsonnetM a #

data Config Source #

Constructors

Config 

Fields

Instances

Instances details
MonadReader Config JsonnetM Source # 
Instance details

Defined in Language.Jsonnet

Methods

ask :: JsonnetM Config #

local :: (Config -> Config) -> JsonnetM a -> JsonnetM a #

reader :: (Config -> a) -> JsonnetM a #

data Value Source #

Instances

Instances details
Generic Value Source # 
Instance details

Defined in Language.Jsonnet.Value

Associated Types

type Rep Value :: Type -> Type #

Methods

from :: Value -> Rep Value x #

to :: Rep Value x -> Value #

FromJSON Value Source # 
Instance details

Defined in Language.Jsonnet.Std.Lib

HasValue Value Source # 
Instance details

Defined in Language.Jsonnet.Value

type Rep Value Source # 
Instance details

Defined in Language.Jsonnet.Value