10 May
                
                    2008
                
            
            
                10 May
                
                '08
                
            
            
            
        
    
                8:15 a.m.
            
        Lennart Augustsson wrote:
There are many implementations of such things. Data.Sequence is one. You can also make an implementation that has O(1) cons, snoc, and append, but that's rather tricky and has a large constant factor.
Ah. So not only is it possible, but it's already in a standard library. I had a feeling this might be the case...