[GHC] #4282: Proposal: make Data.List.intersperse and intercalate less strict

GHC cvs-ghc at haskell.org
Sat Oct 2 19:17:48 EDT 2010


#4282: Proposal: make Data.List.intersperse and intercalate less strict
---------------------------------------------------+------------------------
    Reporter:  daniel.is.fischer                   |        Owner:         
        Type:  proposal                            |       Status:  patch  
    Priority:  normal                              |    Milestone:  Not GHC
   Component:  libraries/base                      |      Version:  6.12.3 
    Keywords:  intersperse, laziness, intercalate  |     Testcase:         
   Blockedby:                                      |   Difficulty:         
          Os:  Unknown/Multiple                    |     Blocking:         
Architecture:  Unknown/Multiple                    |      Failure:  Other  
---------------------------------------------------+------------------------

Comment(by daniel.is.fischer):

 Terribly sorry. Picked the patch from the wrong directory. Corrected patch
 uploaded, but if it's easier to edit the source yourself, the sep was
 meant to be passed to the recursive call, that's (marginally) more
 efficient than SATing.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4282#comment:13>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list