3 curl
ftp://ftp.cs.ru.nl
/pub
/Clean
/builds
/linux-x64
/clean-bundle-complete-linux-x64-latest.tgz |
tar -xz
5 mv clean-bundle-complete
/opt
/clean
7 patch /opt
/clean
/lib
/StdEnv
/StdGeneric.dcl
<<EOPATCH
8 --- StdGeneric.dcl 2018-12-17 02:43:55.000000000 +0100
9 +++ StdGeneric.dcl 2018-12-17 11:06:09.196234236 +0100
14 +generic binumap a b | binumap b a :: a -> b
17 +derive binumap EITHER
18 +derive binumap OBJECT
20 +derive binumap RECORD
24 // HACK: dictionaries for all generics.
25 // It works since all generic classes have only one method and do not inherit
29 patch /opt
/clean
/lib
/StdEnv
/StdGeneric.icl
<<EOPATCH
30 --- StdGeneric.icl 2018-12-17 02:43:55.000000000 +0100
31 +++ StdGeneric.icl 2018-12-17 11:06:09.196234236 +0100
34 bimap{|(->)|} _ ba fr _ f = comp3 fr f ba
38 +binumap{|PAIR|} fx _ fy _ (PAIR x y) = PAIR (fx x) (fy y)
40 +binumap{|EITHER|} fl _ fr _ (LEFT x) = LEFT (fl x)
41 +binumap{|EITHER|} fl _ fr _ (RIGHT x) = RIGHT (fr x)
43 +binumap{|CONS|} fx _ (CONS x) = CONS (fx x)
45 +binumap{|RECORD|} fx _ (RECORD x) = RECORD (fx x)
47 +binumap{|FIELD|} fx _ (FIELD x) = FIELD (fx x)
49 +binumap{|OBJECT|} fx _ (OBJECT x) = OBJECT (fx x)
51 +binumap{|(->)|} _ ba fr _ f = comp3 fr f ba
53 comp3 :: !(.a -> .b) u:(.c -> .a) !(.d -> .c) -> u:(.d -> .b)
58 patch /opt
/clean
/etc
/IDEEnvs
<<EOPATCH
59 --- IDEEnvs 2018-12-17 11:58:48.876039159 +0100
60 +++ IDEEnvs 2018-12-17 12:00:52.384066455 +0100
62 Path: {Application}/lib/StdEnv
63 Path: {Application}/lib/Dynamics
64 Path: {Application}/lib/TCPIP
65 + Path: {Application}/lib/Gast
66 Path: {Application}/lib/Platform
67 Path: {Application}/lib/Platform/Deprecated/Generics
68 + Path: {Application}/lib/Platform/Deprecated/ArgEnv
69 + Path: {Application}/lib/Platform/Deprecated/MersenneTwister
70 Path: {Application}/lib/Platform/Deprecated/StdLib
71 Path: {Application}/lib/Sapl
72 Path: {Application}/lib/GraphCopy
73 Path: {Application}/lib/iTasks
74 - EnvironmentCompiler: lib/exe/cocl::-dynamics -sapl
75 + EnvironmentCompiler: lib/exe/cocl:-h 500m -s 20m:-dynamics -sapl
76 + EnvironmentCodeGen: lib/exe/cg
77 + EnvironmentLinker: lib/exe/linker|lib/exe/sapl-collector-linker|lib/exe/itasks-web-collector
78 + EnvironmentDynLink: lib/exe/linker
79 + EnvironmentVersion: 920
80 + EnvironmentRedirect: False
81 + EnvironmentCompileMethod: Pers
82 + EnvironmentProcessor: I386
83 + Environment64BitProcessor: True
85 + EnvironmentName: iTasks-git
87 + Path: {Application}/lib/StdEnv
88 + Path: {Application}/lib/Dynamics
89 + Path: {Application}/lib/TCPIP
90 + Path: {Application}/lib/Sapl
91 + Path: {Application}/lib/GraphCopy
92 + Path: {Application}/lib/Gast
93 + Path: /home/mrl/projects/clean/clean-platform/src/libraries/Platform-x86
94 + Path: /home/mrl/projects/clean/clean-platform/src/libraries/OS-Posix
95 + Path: /home/mrl/projects/clean/clean-platform/src/libraries/OS-Linux
96 + Path: /home/mrl/projects/clean/clean-platform/src/libraries/OS-Linux-64
97 + Path: /home/mrl/projects/clean/clean-platform/src/libraries/OS-Independent
98 + Path: /home/mrl/projects/clean/clean-platform/src/libraries/OS-Independent/Deprecated/Generics
99 + Path: /home/mrl/projects/clean/clean-platform/src/libraries/OS-Independent/Deprecated/StdLib
100 + Path: /home/mrl/projects/clean/clean-platform/src/libraries/OS-Independent/Deprecated/ArgEnv
101 + Path: /home/mrl/projects/clean/clean-platform/src/libraries/OS-Independent/Deprecated/MersenneTwister
102 + Path: /home/mrl/projects/clean/iTasks-SDK/Libraries
103 + EnvironmentCompiler: lib/exe/cocl:-h 500m -s 20m:-dynamics -sapl
104 EnvironmentCodeGen: lib/exe/cg
105 EnvironmentLinker: lib/exe/linker|lib/exe/sapl-collector-linker|lib/exe/itasks-web-collector
106 EnvironmentDynLink: lib/exe/linker