зеркало из
				https://github.com/iharh/notes.git
				synced 2025-10-30 05:06:05 +02:00 
			
		
		
		
	
		
			
				
	
	
		
			11 строки
		
	
	
		
			240 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			11 строки
		
	
	
		
			240 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| http://blog.ezyang.com/2011/05/unraveling-the-mystery-of-the-io-monad/
 | |
| 
 | |
| http://stefan-klinger.de/files/monadGuide.pdf
 | |
| 
 | |
| fun :: IO String
 | |
| fun = do n <- (readLn::IO Int) -- explicit type specifier
 | |
| 
 | |
| Strict version:
 | |
| System.IO.Strict (readFile)
 | |
| 
 | 
