Documentation
runDsM :: String -> Env String TypeInfo -> Env String (Bool, [Attribute]) -> [(String, Maybe String, Type)] -> DsM a -> IO (a, TypeEnv, TagEnv, SourceEnv, IfaceEnv)Source
propagateAttributes :: [Attribute] -> DsM a -> DsM aSource
withAttributes :: [Attribute] -> DsM a -> DsM aSource
getCurrentPack :: DsM (Maybe Int)Source
openUpScope :: DsM a -> DsM aSource
addSourceIface :: String -> DsM ()Source
getFilename :: DsM (Maybe String)Source
getInterface :: DsM (Maybe String)Source
withInterface :: String -> DsM a -> DsM aSource
inImportedContext :: DsM a -> DsM aSource
addWarning :: String -> DsM ()Source