Module
Data.Text.Format.Org.Property
- Package
- purescript-org-doc
- Repository
- shamansir/purescript-org-doc
#OrgProperty Source
data OrgProperty v
Constructors
PNameValue String v
POnlyName String
PNameOptionalValue String v (Maybe v)
PAppend String (Maybe v)
PValueList String (Array v)
Instances
#OrgProperties Source
#JsonPropertyRec Source
type JsonPropertyRec v = Record (JsonPropertyRow v)
#JsonPropertyRow Source
type JsonPropertyRow :: Type -> Row Type
type JsonPropertyRow v = (append :: Boolean, default :: Maybe v, name :: String, value :: Maybe v, vlist :: Array v)
#JsonProperties Source
#make Source
make :: forall v. Array (OrgProperty v) -> OrgProperties v
#prop Source
prop :: forall v. String -> v -> OrgProperty v
#propn Source
propn :: forall v. String -> OrgProperty v
#propopt Source
propopt :: forall v. String -> v -> OrgProperty v
#propoptv Source
propoptv :: forall v. String -> v -> v -> OrgProperty v
#propapp Source
propapp :: forall v. String -> v -> OrgProperty v
#propappn Source
propappn :: forall v. String -> OrgProperty v
#empty Source
empty :: forall v. OrgProperties v
#hasProperties Source
hasProperties :: forall v. OrgProperties v -> Boolean
#isEmpty Source
isEmpty :: forall v. OrgProperties v -> Boolean
#snoc Source
snoc :: forall v. OrgProperties v -> OrgProperty v -> OrgProperties v
#cons Source
cons :: forall v. OrgProperty v -> OrgProperties v -> OrgProperties v
#toRec Source
toRec :: forall v. OrgProperty v -> JsonPropertyRec v
#fromRec Source
fromRec :: forall v. JsonPropertyRec v -> OrgProperty v
#fromJson Source
fromJson :: forall v. JsonProperties v -> OrgProperties v
#toJson Source
toJson :: forall v. OrgProperties v -> JsonProperties v