| |||||||||||
| allows term construction and decomposition.
+CompoundTerm =.. ?List
| |||||||||||
| f(a,b,c) =.. X. | Succeeds with substitution X <- [f,a,b,c]. |
| '=..'(X, [f,1,Y]). | Succeeds with substitution X <- f(1,Y). |
| 1.3 =.. L. | Succeeds with substitution L <- [1.3]. |
| f(a,b,c) =.. [f,X,Y]. | Fails. |
This predicate is part of the ISO-Prolog Standard.
| document: http://www.ifcomputer.co.jp/MINERVA/Manual/Reference/Predicates/term_creat_decomp/term_const_decomp/print_en.html published 2008/7/21 update 1998/8/11 (c) 1996-2006 IF Computer Japan | ||||||||
|
| Back> |
|