- ifM :: (Monad m, Monoid md) => m Bool -> md -> m md
- ghcGetAvailableModules :: GhcMonad m => m [ModuleName]
- getAvailableModules :: MonadInterpreter m => m [ModuleName]
- interpreterMain :: [Args] -> Interpreter ()
- filterTaskFuns :: [String] -> Interpreter [String]
- loadLocalTaskModules :: Interpreter ()
- importZoomTasks :: Interpreter [ModuleName]
- getFunctionsFromImports :: [ModuleName] -> Interpreter [(ModuleName, [String])]
- runZoomInterpreter :: [Args] -> IO (Either InterpreterError ())
- availableTasks :: [String] -> Interpreter [String]
Documentation
ghcGetAvailableModules :: GhcMonad m => m [ModuleName]Source
getAvailableModules :: MonadInterpreter m => m [ModuleName]Source
interpreterMain :: [Args] -> Interpreter ()Source
entry point for the standard zoom interpreter
filterTaskFuns :: [String] -> Interpreter [String]Source
loadLocalTaskModules :: Interpreter ()Source
loads up modules located in the task subdirectory of the current directory. note that this currently needs to be run before loading global tasks.
importZoomTasks :: Interpreter [ModuleName]Source
imports both local and global Zoom.Task.* modules. returns the qualified module names of all Zoom.Task.* modules.
getFunctionsFromImports :: [ModuleName] -> Interpreter [(ModuleName, [String])]Source
runZoomInterpreter :: [Args] -> IO (Either InterpreterError ())Source
availableTasks :: [String] -> Interpreter [String]Source