Procedure
generate_sloth/1
Generates a sloth in the specified habitat.
generate_sloth :: proc(habitat: Sloth.Habitat) -> (sloth: Sloth.Sloth, ok: bool) #optional_ok