Changes between Initial Version and Version 1 of Ticket #720


Ignore:
Timestamp:
Mar 10, 2006 8:38:49 PM (8 years ago)
Author:
jpbernardy
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #720 – Description

    initial v1  
    22like "fetch all elements between keys low and high". 
    33The naive implementation is easy: 
    4  
     4{{{ 
    55range :: Ord k => k -> k -> Map.Map k v -> [(k,v)] 
    66range low high = toList . fst . split high . snd . split low 
    7  
     7}}} 
    88But this is not very fast for larger maps. Maybe 
    99this operation could be provided in Data.Map?