Safe Haskell | None |
---|---|
Language | Haskell2010 |
Parsing, pretty-printing and rendering of SPDX license templates
Documentation
Instances
Eq Piece Source # | |
Show Piece Source # | |
Generic Piece Source # | |
type Rep Piece Source # | |
Defined in Distribution.SPDX.Template type Rep Piece = D1 ('MetaData "Piece" "Distribution.SPDX.Template" "spdx-license-0.1.1-5WmnjvMQbsB7NfnqsLYSWX" 'False) (C1 ('MetaCons "Substansive" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'SourceUnpack 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :+: (C1 ('MetaCons "Optional" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Piece])) :+: C1 ('MetaCons "Var" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'SourceUnpack 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "original") 'SourceUnpack 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "match") 'SourceUnpack 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))) |
data SubstitutionError Source #
Instances
prettyLicense :: License -> Text Source #
Pretty-print a license template