2572851ad5
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@791 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
26 lines
544 B
Plaintext
26 lines
544 B
Plaintext
## template = category
|
|
#buffermode ( "logtalk" )
|
|
#prompt ( "Category name:" $categoryname )
|
|
#prompt ( "Implemented protocols (comma separated):" $protocols )
|
|
#if ( $protocols )
|
|
:- category($categoryname,
|
|
implements($protocols)).
|
|
#else
|
|
:- category($categoryname).
|
|
#end
|
|
|
|
#prompt ( "Version:" $version "1.0" )
|
|
#prompt ( "Author name:" $authorname )
|
|
#prompt ( "Comment:" $comment )
|
|
#today ( $date "yyyy/MM/dd" )
|
|
:- info([
|
|
version is $version,
|
|
author is '$authorname',
|
|
date is $date,
|
|
comment is '$comment']).
|
|
|
|
|
|
#caret ()
|
|
|
|
:- end_category.
|