CogComp / saul

Saul : Declarative Learning-Based Programming
Other
64 stars 18 forks source link

Extension of _forall #319

Open danyaljj opened 8 years ago

danyaljj commented 8 years ago

Suppose you have:

val constraints: Iterable[FirstOrderConstraint] .. 

And you wanna and them:

constraints.toSeq._forall(a => a)

Create an easier extension such that you just do:

constraints._forall