RosettaCodeData/Task/Anonymous-recursion/Maple/anonymous-recursion-2.maple
Ingy döt Net db842d013d A-M baby
2013-04-10 21:29:02 -07:00

6 lines
196 B
Text

> seq( Fib( i ), i = 0 .. 10 );
0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55
> Fib( -1 );
Error, invalid input: Fib expects its 1st argument, n, to be of type
nonnegint, but received -1