:: int -> int -> int -> int package:hedgehog

Truncate a value so it stays within some range.
>>> clamp 5 10 15
10
>>> clamp 5 10 0
5