@constructor
def smallest(*args):
 if (len(args) == 2):
  (a, b) = args
  return switch((a < b), a, b)
 else:
  return min(stack(args), axis=0)

@ constructor def smallest ( * args ) : if ( len ( args ) == 2 ) : ( a , b ) = args return switch ( ( a < b ) , a , b ) else : return min ( stack ( args ) , axis = 0 )
create a proxy for an instance which makes it sort smaller than anything it is compared to .