Symbol.hs revision e9458b1a7a19a63aa4c179f9ab20f4d50681c168
4752N/AModule : ./CommonLogic/Symbol.hs
4752N/ALicense : GPLv2 or higher, see LICENSE.txt
4752N/Amodule CommonLogic.Symbol (
4752N/Aimport Common.Doc
4752N/Aimport Common.DocUtils
4752N/Aimport Common.Result
4752N/Aimport qualified CommonLogic.Sign as Sign
4752N/Aimport CommonLogic.Morphism as Morphism
4752N/Ainstance Id.GetRange Symbol where
4752N/A getRange = Id.getRange . symName
4752N/A foldr (\ x -> Map.insert (Symbol x) (Symbol $ applyMap (propMap f) x))
4752N/A if Sign.isSeqMark $ symName symb
4752N/A then sig { Sign.sequenceMarkers =
4752N/A else sig { Sign.discourseNames =
4752N/AsymKind s = if Sign.isSeqMark $ symName s then symKindSeqMark else symKindName