Mercurial > repos > rhope
changeset 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 | 6d10b5b9ebc3 |
children | f69987c58fa8 |
files | fib.rhope |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
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]] }