You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The module util/integer contains min and max functions:
/** given a set of integers, return the largest element */
fun max [es: set Int]: lone Int { es - es.^prev }
/** given a set of integers, return the smallest element */
fun min [es: set Int]: lone Int { es - es.^next }
The text was updated successfully, but these errors were encountered:
The module
util/integercontains min and max functions:The text was updated successfully, but these errors were encountered: