Hets - the Heterogeneous Tool Set
Copyright(c) Tom Kranz 2022
LicenseGPLv2 or higher, see LICENSE.txt
Maintainer
Stabilityexperimental
Portabilitynon-portable (imports TIP.AbsTIP)
Safe HaskellNone

TIP.Utils

Description

Extractingwrapping names and attributes fromin TIP objects, with quoting.

Documentation

printTIP :: Start -> String Source #

anyOf :: a -> [a -> Bool] -> Bool Source #

getFormulaName :: Decl -> Maybe String Source #

getAttrValues :: String -> [Attr] -> [String] Source #

getAttrValue :: String -> Attr -> Maybe String Source #

addAttr :: Decl -> (String, Maybe String) -> Decl Source #

fromSymbol :: Symbol -> String Source #

toAttr :: (String, Maybe String) -> Attr Source #

quoteSymbolChar :: Char -> String Source #

unquoteSymbolChars :: String -> String Source #

toSymbol :: String -> Symbol Source #