Get the minimum value published by an expression.

[{orc

def minPub(f) = minimum(collect(f))

def example() = 3 | 0 | 2 | 1 | 4
minPub(example)

}]

This implementation uses {{collect}} to collect all of the publications into a list, then finds the minimum value of the list.