root/tags/lgt2212/library/observer.lgt

Revision 404, 351 bytes (checked in by pmoura, 6 years ago)

Corrected syntax error in the info/1 directive.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1
2:- category(observer).
3
4    :- info([
5        version is 1.0,
6        author is 'Paulo Moura',
7        date is 03/02/09,
8        comment is 'Smalltalk dependent protocol.']).
9
10    :- public(update/1).
11    :- mode(update(?nonvar), zero_or_one).
12    :- info(update/1,
13        [comment is 'Called when an observed object is updated.',
14         argnames is ['Change']]).
15
16    update(_).
17
18:- end_category.
Note: See TracBrowser for help on using the browser.