Procedure
sloth_perform/1
A type that declares an activity a Sloth can perform.
Performs the work or sequence of actions for an activity.
Parameters
- sloth: The sloth performing the activity.
Returns
- The speed at which the sloth performs the activity.
Declaration
sloth_perform :: proc(sloth: Sloth) -> Speed