NAME

Karel::Util

DESCRITPTION

Helper functions for other packages.

FUNCTIONS

m_to_n($i, $m, $n)

Checks whether the integer $i lies between $m and $n inclusive.

positive_int($i)

Checks whether $i is a positive integer, i.e. m_to_n($i, 1, $i).