Mercurial > repos > rhope
diff fib.rhope @ 86:a163250b8885
Update fib example to reflect language changes
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Fri, 30 Jul 2010 23:49:39 +0000 |
parents | 76568becd6d6 |
children |
line wrap: on
line diff
--- a/fib.rhope Fri Jul 30 23:49:19 2010 +0000 +++ b/fib.rhope Fri Jul 30 23:49:39 2010 +0000 @@ -23,8 +23,7 @@ Main[args] { //Here we get the first command line argument and convert it to a number - //Yes I realize this is incredibly ugly looking - n <- <String@Whole Number[[args]Index[1]] + n <- Int32[[args]Index[1]] //Call our Fib worker and Print the result to the terminal Print[Fib[n]] }