75392e54c7
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@757 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
21 lines
310 B
Plaintext
21 lines
310 B
Plaintext
|
|
:- object(x,
|
|
implements(symdiffp)).
|
|
|
|
|
|
:- info([
|
|
author is 'Paulo Moura',
|
|
version is 1.0,
|
|
date is 1999/12/29,
|
|
comment is 'Symbolic differentiation and simplification of a variable.',
|
|
source is 'Example based on the Clocksin and Mellish Prolog book.']).
|
|
|
|
|
|
diff(1).
|
|
|
|
|
|
simplify(x).
|
|
|
|
|
|
:- end_object.
|