Knights exercies in <Learn your good haskell>
 
            
            
            
            
                6 Apr
                
                    2012
                
            
            
                6 Apr
                
                '12
                
            
            
            
        
    
                12:53 p.m.
            
        Hi there, There is one trivial exercise in chapter 12 <List Monad> saying 1. As an exercise, you can change this function so that when you can reach one position from the other, it tells you which moves to take. 2. how to modify this function so that we also pass it the number of moves to take instead of that number being hard-coded. I have one answer (find the URL below) but I'm not happy with it. https://github.com/freizl/dive-into-haskell/blob/master/monad/knight-queue.h... Do you have better ideas? thanks. -Haisheng
        4956
        
      
          Age (days ago)
        
      
        4956
        
    
          Last active (days ago)
        
        
        
        0 comments
    
    
        
        1 participants
    
    
    
    
    
    
    
    
    participants (1)
- 
                 Haisheng Wu Haisheng Wu