I plan to make a few changes to my language, and I will then update these files later. I am moving them because I don't want them polluting the main directory. I probably should have done this to begin with, but better late than never.
		
			
				
	
	
		
			12 lines
		
	
	
		
			187 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			187 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| func doubles(a: int) -> int -> int {
 | |
| 	assert a == 2;
 | |
| 	func doubler(b: int) -> int {
 | |
| 		return b*2+a;
 | |
| 	}
 | |
| 	return doubler;
 | |
| }
 | |
| 
 | |
| 
 | |
| doubler_: int -> int = doubles(2);
 | |
| debug_print(doubler_("5"));
 |