drift.util.util

Functions

cache_last(func)

A simple decorator to cache the result of the last call to a function.

intpattern(n)

Pattern that prints out a number upto n (integer - always shows sign).

natpattern(n)

Pattern that prints out a number upto n (natural number - no sign).

drift.util.util.cache_last(func)

A simple decorator to cache the result of the last call to a function.

drift.util.util.intpattern(n)

Pattern that prints out a number upto n (integer - always shows sign).

drift.util.util.natpattern(n)

Pattern that prints out a number upto n (natural number - no sign).