mirror of
				https://github.com/KevinMidboe/linguist.git
				synced 2025-10-29 17:50:22 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			17 lines
		
	
	
		
			278 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			278 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| definition module streams
 | |
| 
 | |
| import StdEnv
 | |
| 
 | |
| instance zero [Real]
 | |
| instance one [Real]
 | |
| instance + [Real]        
 | |
| instance - [Real]
 | |
| instance * [Real]
 | |
| instance / [Real]
 | |
| 
 | |
| X :: [Real]
 | |
| invert :: [Real] -> [Real]
 | |
| pow :: [Real] Int -> [Real]
 | |
| (shuffle) infixl 7 :: [Real] [Real] -> [Real]
 | |
| 
 |