Mercurial > repos > rhope
view teststring.rhope @ 168:d2b941f82d74
Fix type of list constants in inference pass and return type of some Array related workers
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Sun, 01 May 2011 18:41:17 -0700 |
parents | 4d5ea487f810 |
children |
line wrap: on
line source
Main[] { barbaz <- [right]Append["baz"] ,right <- ["foobar"]Slice[3] { Print[~] { Print[right] { Print[barbaz] { bar,baz <- [barbaz]Slice[3] { Print[bar] { Print[baz] { If[[bar]=[ [["b"]Append["a"]]Append["r"] ]] { Print["Comparison OK"] { ,delim,after <-["foshizzlemynizzle"]Partition["my"] { Print[~] { Print[delim] { Print[after] }}} } }{ Print["Comparison failed"] } }}} }}}} }