RosettaCodeData/Task/Anonymous-recursion/Maple/anonymous-recursion-2.maple

7 lines
196 B
Plaintext

> 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