1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
module C2JSPackageConfig where

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

--- Returns the location (installation directory) of the package.
getPackagePath :: IO String
getPackagePath = return "/net/medoc/home/cpm/tmpcurrydoc3055482/curry2js"

--- Package location (deprecated, use 'getPackagePath').
packagePath :: String
packagePath = "/net/medoc/home/cpm/tmpcurrydoc3055482/curry2js"

--- 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/javascript-2.0.0/src", pp ++ "/.cpm/packages/xml-2.0.0/src", pp ++ "/.cpm/packages/queue-0.0.1/src", pp ++ "/.cpm/packages/wl-pprint-0.0.1/src", pp ++ "/.cpm/packages/random-0.0.1/src", pp ++ "/.cpm/packages/redblacktree-0.0.1/src", pp ++ "/.cpm/packages/frontend-exec-0.0.1/src", pp ++ "/.cpm/packages/propertyfile-0.0.1/src", pp ++ "/.cpm/packages/currypath-0.0.1/src", pp ++ "/.cpm/packages/flatcurry-2.0.0/src"]

--- Load path for the package (deprecated, use 'getPackageLoadPath').
packageLoadPath :: String
packageLoadPath = "/net/medoc/home/cpm/tmpcurrydoc3055482/curry2js/src:/net/medoc/home/cpm/tmpcurrydoc3055482/curry2js/.cpm/packages/javascript-2.0.0/src:/net/medoc/home/cpm/tmpcurrydoc3055482/curry2js/.cpm/packages/xml-2.0.0/src:/net/medoc/home/cpm/tmpcurrydoc3055482/curry2js/.cpm/packages/queue-0.0.1/src:/net/medoc/home/cpm/tmpcurrydoc3055482/curry2js/.cpm/packages/wl-pprint-0.0.1/src:/net/medoc/home/cpm/tmpcurrydoc3055482/curry2js/.cpm/packages/random-0.0.1/src:/net/medoc/home/cpm/tmpcurrydoc3055482/curry2js/.cpm/packages/redblacktree-0.0.1/src:/net/medoc/home/cpm/tmpcurrydoc3055482/curry2js/.cpm/packages/frontend-exec-0.0.1/src:/net/medoc/home/cpm/tmpcurrydoc3055482/curry2js/.cpm/packages/propertyfile-0.0.1/src:/net/medoc/home/cpm/tmpcurrydoc3055482/curry2js/.cpm/packages/currypath-0.0.1/src:/net/medoc/home/cpm/tmpcurrydoc3055482/curry2js/.cpm/packages/flatcurry-2.0.0/src"

--- Returns the location of the executable installed by this package.
getPackageExecutable :: IO String
getPackageExecutable = return "/net/medoc/home/cpm/.cpm/bin_pakcs/curry2js"

--- Location of the executable (deprecated, use 'getPackageExecutable').
packageExecutable :: String
packageExecutable = "/net/medoc/home/cpm/.cpm/bin_pakcs/curry2js"