Hets - the Heterogeneous Tool Set

Copyright(c) Christian Maeder, DFKI GmbH 2008
LicenseGPLv2 or higher, see LICENSE.txt
MaintainerChristian.Maeder@dfki.de
Stabilityprovisional
Portabilityportable
Safe HaskellNone

Common.LibName

Description

Abstract syntax of HetCASL specification libraries Follows Sect. II:2.2.5 of the CASL Reference Manual.

Synopsis

Documentation

data LinkPath a

Constructors

LinkPath a [(LibName, Int)] 

Instances

setFilePath :: FilePath -> LibName -> LibName

insert file name as location IRI

libToFileName :: LibName -> FilePath

interpret library IRI as file path

getFilePath :: LibName -> FilePath

extract location IRI as file name

filePathToLibId :: FilePath -> IRI

use file name as library IRI

setMimeType :: Maybe String -> LibName -> LibName

insert optional mime type