CurryInfo: cpns-3.0.0 / Network.CPNS.ConfigPackage

classes:

              
documentation:

              
name:
Network.CPNS.ConfigPackage
operations:
getPackageExecutable getPackageLoadPath getPackagePath packageExecutable packageLoadPath packagePath packageVersion
sourcecode:
module Network.CPNS.ConfigPackage where

--- Package version as a string.
packageVersion :: String
packageVersion = "3.0.0"

--- Returns the location (installation directory) of the package.
getPackagePath :: IO String
getPackagePath = return "/var/www/webapps/curry-info/.curry_info_cache/checkouts/cpns-3.0.0"

--- Package location (deprecated, use 'getPackagePath').
packagePath :: String
packagePath = "/var/www/webapps/curry-info/.curry_info_cache/checkouts/cpns-3.0.0"

--- Returns the load path for the package (if it is the main package).
getPackageLoadPath :: IO [String]
getPackageLoadPath = do
  pp <- getPackagePath
  return [pp ++ "/src", pp ++ "/.cpm/packages/socket-3.0.0/src", pp ++ "/.cpm/packages/process-3.0.0/src", pp ++ "/.cpm/packages/profiling-3.0.0/src", pp ++ "/.cpm/packages/time-3.0.0/src", pp ++ "/.cpm/packages/filepath-3.0.0/src", pp ++ "/.cpm/packages/directory-3.0.0/src"]

--- Load path for the package (deprecated, use 'getPackageLoadPath').
packageLoadPath :: String
packageLoadPath = "/var/www/webapps/curry-info/.curry_info_cache/checkouts/cpns-3.0.0/src:/var/www/webapps/curry-info/.curry_info_cache/checkouts/cpns-3.0.0/.cpm/packages/socket-3.0.0/src:/var/www/webapps/curry-info/.curry_info_cache/checkouts/cpns-3.0.0/.cpm/packages/process-3.0.0/src:/var/www/webapps/curry-info/.curry_info_cache/checkouts/cpns-3.0.0/.cpm/packages/profiling-3.0.0/src:/var/www/webapps/curry-info/.curry_info_cache/checkouts/cpns-3.0.0/.cpm/packages/time-3.0.0/src:/var/www/webapps/curry-info/.curry_info_cache/checkouts/cpns-3.0.0/.cpm/packages/filepath-3.0.0/src:/var/www/webapps/curry-info/.curry_info_cache/checkouts/cpns-3.0.0/.cpm/packages/directory-3.0.0/src"

--- Returns the location of the executable installed by this package.
getPackageExecutable :: IO String
getPackageExecutable = return "/var/www/webapps/curry-info/.cpm/bin/curry-cpnsd"

--- Location of the executable (deprecated, use 'getPackageExecutable').
packageExecutable :: String
packageExecutable = "/var/www/webapps/curry-info/.cpm/bin/curry-cpnsd"
types:

              
unsafe:
safe