Distribution.hs.include 783 Bytes
Newer Older
bbr's avatar
bbr committed
1
2
3
4
5
6
[ForFunction "curryCompiler"
,ForFunction "curryCompilerMajorVersion"
,ForFunction "curryCompilerMinorVersion"
,ForFunction "curryRuntime"
,ForFunction "curryRuntimeMajorVersion"
,ForFunction "curryRuntimeMinorVersion"
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
32
,ForFunction "installDir"
]

import qualified InstallDir as ID

curryCompiler :: Result C_String
curryCompiler _ = toCurry "kics"

curryCompilerMajorVersion :: Result C_Int
curryCompilerMajorVersion _ = 0

curryCompilerMinorVersion :: Result C_Int
curryCompilerMinorVersion _ = 9854

installDir :: Result C_String
installDir _ = toCurry (ID.installDir)

curryRuntime :: Result C_String
curryRuntime _ = toCurry "ghc"

curryRuntimeMajorVersion :: Result C_Int
curryRuntimeMajorVersion _ = 6

curryRuntimeMinorVersion :: Result C_Int
curryRuntimeMinorVersion _ = 8