root/tags/lgt2202/library/callable.lgt
| Revision 365, 251 bytes (checked in by pmoura, 6 years ago) | |
|---|---|
|
|
| Line | |
|---|---|
| 1 | |
| 2 | :- object(callable, |
| 3 | extends(term)). |
| 4 | |
| 5 | |
| 6 | :- info([ |
| 7 | version is 1.0, |
| 8 | author is 'Paulo Moura', |
| 9 | date is 2000/7/24, |
| 10 | comment is 'Callable term type predicates.']). |
| 11 | |
| 12 | |
| 13 | valid(Callable) :- |
| 14 | once((atom(Callable); compound(Callable))). |
| 15 | |
| 16 | |
| 17 | :- end_object. |
Note: See TracBrowser
for help on using the browser.
