Copyright | (c) 2020-2021 Alexandre Moreno |
---|---|
License | BSD-3-Clause OR Apache-2.0 |
Maintainer | Alexandre Moreno <alexmorenocano@gmail.com> |
Stability | experimental |
Portability | non-portable |
Safe Haskell | None |
Language | Haskell2010 |
Documentation
VNull | |
VBool !Bool | |
VStr !Text | |
VNum !Scientific | |
VObj !Object | |
VArr !(Vector Value) | |
VThunk !Core !Env | |
VIndir !Ref | |
VPrim !Prim | |
VClos !Lam !Env | |
VFun !Fun |
VField | |
|
Instances
Generic VField Source # | |
HasVisibility VField Source # | |
HasValue Object Source # | |
type Rep VField Source # | |
Defined in Language.Jsonnet.Value type Rep VField = D1 ('MetaData "VField" "Language.Jsonnet.Value" "jsonnet-0.3.1.1-HRvoiMrrp7QzMlnzingfy" 'False) (C1 ('MetaCons "VField" 'PrefixI 'True) ((S1 ('MetaSel ('Just "fieldKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Value) :*: S1 ('MetaSel ('Just "fieldValWHNF") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Value)) :*: (S1 ('MetaSel ('Just "fieldVal") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Value) :*: S1 ('MetaSel ('Just "fieldVis") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Visibility)))) |
Cell | |
|
Instances
Generic Cell Source # | |
type Rep Cell Source # | |
Defined in Language.Jsonnet.Value type Rep Cell = D1 ('MetaData "Cell" "Language.Jsonnet.Value" "jsonnet-0.3.1.1-HRvoiMrrp7QzMlnzingfy" 'False) (C1 ('MetaCons "Cell" 'PrefixI 'True) (S1 ('MetaSel ('Just "cellVal") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Value) :*: S1 ('MetaSel ('Just "cellIsWHNF") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool))) |
class HasValue a where Source #
Instances
HasValue Bool Source # | |
HasValue Double Source # | |
Integral a => HasValue a Source # | |
HasValue ByteString Source # | |
Defined in Language.Jsonnet.Eval | |
HasValue Scientific Source # | |
Defined in Language.Jsonnet.Eval | |
HasValue Text Source # | |
HasValue Object Source # | |
HasValue Value Source # | |
HasValue [Char] Source # | |
HasValue a => HasValue [a] Source # | |
HasValue a => HasValue (Maybe a) Source # | |
HasValue a => HasValue (Vector a) Source # | |
(HasValue a, HasValue b, HasValue c) => HasValue (a -> b -> Eval c) Source # | |
(HasValue a, HasValue b) => HasValue (a -> Eval b) Source # | |
(HasValue a, HasValue b, HasValue c) => HasValue (a -> b -> c) Source # | |
(HasValue a, HasValue b) => HasValue (a -> b) Source # | |