ExternalFunctionsDistribution.hs 613 Bytes
Newer Older
bbr's avatar
bbr committed
1
2
3
4
5
6
module ExternalFunctionsDistribution where

import Curry
import CurryPrelude 
import qualified InstallDir as ID

bbr's avatar
bbr committed
7
curryCompiler :: Result C_String
bbr's avatar
bbr committed
8
9
curryCompiler _ = toCurry "kics"

bbr's avatar
bbr committed
10
curryCompilerMajorVersion :: Result C_Int
bbr's avatar
bbr committed
11
12
curryCompilerMajorVersion _ = 0

bbr's avatar
bbr committed
13
curryCompilerMinorVersion :: Result C_Int
bbr's avatar
bbr committed
14
15
curryCompilerMinorVersion _ = 9854

bbr's avatar
bbr committed
16
installDir :: Result C_String
bbr's avatar
bbr committed
17
18
installDir _ = toCurry (ID.installDir)

bbr's avatar
bbr committed
19
curryRuntime :: Result C_String
bbr's avatar
bbr committed
20
21
curryRuntime _ = toCurry "ghc"

bbr's avatar
bbr committed
22
curryRuntimeMajorVersion :: Result C_Int
bbr's avatar
bbr committed
23
24
curryRuntimeMajorVersion _ = 6

bbr's avatar
bbr committed
25
curryRuntimeMinorVersion :: Result C_Int
bbr's avatar
bbr committed
26
curryRuntimeMinorVersion _ = 8
bbr's avatar
bbr committed
27