[GHC] #9870: Document deviation of Data.List.splitAt from Report semantics

GHC ghc-devs at haskell.org
Sun Dec 7 14:51:21 UTC 2014


#9870: Document deviation of Data.List.splitAt from Report semantics
-------------------------------------+-------------------------------------
       Reporter:  dfeuer             |                   Owner:
           Type:  task               |                  Status:  new
       Priority:  normal             |               Milestone:  7.10.1
      Component:  Documentation      |                 Version:  7.9
       Keywords:                     |        Operating System:
   Architecture:  Unknown/Multiple   |  Unknown/Multiple
     Difficulty:  Easy (less than 1  |         Type of failure:
  hour)                              |  Documentation bug
     Blocked By:                     |               Test Case:
Related Tickets:                     |                Blocking:
                                     |  Differential Revisions:  Phab:D562
-------------------------------------+-------------------------------------
 `Data.List.splitAt` is strict in its first argument. The Report specifies
 that `splitAt n xs = (take n xs, drop n xs)`. This should be noted in the
 user's guide.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9870>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list