30 Nov
                
                    2010
                
            
            
                30 Nov
                
                '10
                
            
            
            
        
    
                4:49 p.m.
            
        I'd like to write a Haskell program that executes an IO action every 50 milliseconds. It would be most helpful if someone could point me in the right direction. -- mac
            
            
            
                30 Nov
                
            
            
                30 Nov
                
            
            
            
        
    
                5:15 p.m.
            
        Excerpts from matthew coolbeth's message of Tue Nov 30 16:49:52 -0500 2010:
I'd like to write a Haskell program that executes an IO action every 50 milliseconds. It would be most helpful if someone could point me in the right direction.
Hello Matthew, Check out forkIO and threadDelay. http://www.haskell.org/ghc/docs/6.12.2/html/libraries/base-4.2.0.1/Control-C... Basically, you can fork a thread and then have it do something, delay 50 ms, and then invoke itself again. Edward
        5453
        
      
          Age (days ago)
        
      
        5453
        
    
          Last active (days ago)
        
        
        
        1 comments
    
    
        
        2 participants
    
    
    
    
    
    
    
    
    participants (2)
- 
                
Edward Z. Yang - 
                
matthew coolbeth