AttachPredicates D¶
expr.spad line 1020 [edit on github]
D: Type
Attaching predicates to symbols for pattern matching. Date Created: 21 Mar 1989
- suchThat: (Symbol, D -> Boolean) -> Expression Integer
suchThat(x, foo)
attaches the predicate foo tox
.
- suchThat: (Symbol, List(D -> Boolean)) -> Expression Integer
suchThat(x, [f1, f2, ..., fn])
attaches the predicatef1
andf2
and … andfn
tox
.