# A module's constant made by a call of a generic function the module defines: the call's
# instance is made before the function's body, and its body checked with it (D245)
from verada import *


def choose[T: Ordered](a: T, b: T) -> T:
    if a < b:
        return b
    return a


LIMIT: Final[int] = choose(3, 4)
SCALE: Final[float] = choose(1.5, 0.5)
