|
gap> # test returning from a 'method not found' error
gap> f:=a->a+a;; f(());
Error, no method found! For debugging hints type ?Recovery from NoMethodFound
Error, no 1st choice method found for `+' on 2 arguments at GAPROOT/lib/methsel2.g:LINE called from
a + a at *stdin*:3 called from
<function "f">( <arguments> )
called from read-eval loop at *stdin*:3
type 'quit;' to quit to outer loop
brk> return;
'return' cannot be used in this read-eval-print loop
brk> QUIT;
[ Dauer der Verarbeitung: 0.26 Sekunden
(vorverarbeitet)
]
|