GenSolver


List

Namespace: Informedica.GenSolver.Utils

Helper functions for List

Functions and values

Function or valueDescription
distinct xs
Signature: xs:'?6751 list -> '?6751 list
Type parameters: '?6751
replace pred x xs
Signature: pred:('?6749 -> bool) -> x:'?6749 -> xs:'?6749 list -> '?6749 list
Type parameters: '?6749

Replace an element in a list when the pred function returns true.

Fork me on GitHub