git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1973 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
		
			
				
	
	
		
			27 lines
		
	
	
		
			843 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			843 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| ================================================================
 | |
| Logtalk - Open source object-oriented logic programming language
 | |
| Release 2.30.7
 | |
| 
 | |
| Copyright (c) 1998-2007 Paulo Moura.  All Rights Reserved.
 | |
| ================================================================
 | |
| 
 | |
| 
 | |
| To load this example and for sample queries, please see the SCRIPT file.
 | |
| 
 | |
| This folder contains examples of the used of operators inside objects 
 | |
| and categories:
 | |
| 
 | |
| double.lgt
 | |
| 	Simple object containing clauses using an infix operator.
 | |
| 
 | |
| triple.lgt
 | |
| 	Simple object reading from a file (triple.txt), and asserting into 
 | |
| 	self, clauses that use an infix operator.
 | |
| 
 | |
| reverse.lgt
 | |
| 	Simple object reading from a file (next.txt), and writing to 
 | |
| 	another file (previous.txt), clauses that use infix operators.
 | |
| 
 | |
| local.lgt
 | |
| 	Simple example of defining an operator local to a source file.
 |