Mercurial > repos > rhope
comparison extendlib.rhope @ 75:0083b2f7b3c7
Partially working implementation of List. Modified build scripts to allow use of other compilers. Fixed some bugs involving method implementations on different types returning different numbers of outputs. Added Fold to the 'builtins' in the comipler.
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Tue, 06 Jul 2010 07:52:59 -0400 |
parents | d0ce696786cc |
children |
comparison
equal
deleted
inserted
replaced
74:a844c623c7df | 75:0083b2f7b3c7 |
---|---|
159 If[[a] > [b]] | 159 If[[a] > [b]] |
160 { | 160 { |
161 max <- a | 161 max <- a |
162 }{ | 162 }{ |
163 max <- b | 163 max <- b |
164 } | |
165 } | |
166 | |
167 Min[a,b:min] | |
168 { | |
169 If[[a] < [b]] | |
170 { | |
171 min <- a | |
172 }{ | |
173 min <- b | |
164 } | 174 } |
165 } | 175 } |
166 | 176 |
167 Count Substring[string,substring:out] | 177 Count Substring[string,substring:out] |
168 { | 178 { |