Extract FE 1.0 related parts from NewConstraintSystem
This commit is contained in:
@@ -172,4 +172,8 @@ inline fun <T, R> Collection<T>.foldMap(transform: (T) -> R, operation: (R, R) -
|
||||
result = operation(result, transform(iterator.next()))
|
||||
}
|
||||
return result
|
||||
}
|
||||
}
|
||||
|
||||
fun <E> MutableList<E>.trimToSize(newSize: Int) {
|
||||
subList(newSize, size).clear()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user