-
Notifications
You must be signed in to change notification settings - Fork 93
Portal: Instructions
|
Ensure the input to be a list. If it has been a sequence, do nothing; otherwise, return a list of it |
|
Print the input and return it. |
|
If a number is out of range (defined by max-number-magnitude and min-number-magnitude), set it to the max / min value. |
|
Count the number of points in a tree. Each atom and each pair of parentheses is regard as one point. |
|
Truncate numbers to integers. For example, 100.5 would be truncated to 100 and -134.2 would be truncated to 134 |
|
|
|
Returns true if the first argument contains the second argument as a subtree |
|
Returns the smallest subtree of the first argument which contains the second argument |
|
Returns a list of all items in the argument. Duplicates would be contained. Both sublists and atoms are considered as items. |
|
If it is a list, return a non-lazy version of it. If it isn’t a list, return it as a list. |