402N/ADescription : Symbol related functions for SoftFOL.
402N/ACopyright : (c) Klaus Luettich, Uni Bremen 2007
402N/AMaintainer : luecke@informatik.uni-bremen.de
402N/AFunctions for symbols of SoftFOL.
402N/AtoOpSymb :: (SPIdentifier,
Set.Set([SPIdentifier], SPIdentifier))
402N/A where toSymb (args,res) =
402N/A SFSymbol { sym_ident = ident
402N/A , sym_type = SFOpType args res}
402N/A SFSymbol { sym_ident = ident
402N/A , sym_type = SFPredType args}
402N/AtoSortSymb :: SPIdentifier -> SFSymbol
toSortSymb ident = SFSymbol { sym_ident = ident
symbolToId :: SFSymbol -> Id
symbolToId = mkId . (:[]) . sym_ident