September 2017
Beginner
402 pages
9h 52m
English
The two methods, pred and succ, have a feature caused by the very limited range of the available values. You should not expect the values to be looped. The results of the methods are shown in the comments in the following piece of code:
say True.pred; # Falsesay True.succ; # Truesay False.pred; # Falsesay False.succ; # True
Read now
Unlock full access