[GHC] #9870: Document deviation of Data.List.splitAt from Report semantics
#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
#9870: Document deviation of Data.List.splitAt from Report semantics -------------------------------------+------------------------------------- Reporter: dfeuer | Owner: Type: task | Status: new Priority: normal | Milestone: 7.10.1 Component: | Version: 7.9 Documentation | Keywords: Resolution: | Architecture: Unknown/Multiple Operating System: | Difficulty: Easy (less than 1 Unknown/Multiple | hour) Type of failure: | Blocked By: Documentation bug | Related Tickets: Test Case: | Blocking: | Differential Revisions: Phab:D562 | -------------------------------------+------------------------------------- Comment (by Austin Seipp <austin@…>): In [changeset:"8b480d3192e6eff6183934d7bbcc2054611c3651/ghc"]: {{{ #!CommitTicketReference repository="ghc" revision="8b480d3192e6eff6183934d7bbcc2054611c3651" Document splitAt deviation from the Report Summary: `splitAt` is stricter than the Report specifies, so we should say so. Reviewers: hvr, austin Reviewed By: austin Subscribers: carter, thomie Projects: #ghc Differential Revision: https://phabricator.haskell.org/D562 GHC Trac Issues: #9870 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9870#comment:1> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#9870: Document deviation of Data.List.splitAt from Report semantics -------------------------------------+------------------------------------- Reporter: dfeuer | Owner: Type: task | Status: closed Priority: normal | Milestone: 7.10.1 Component: | Version: 7.9 Documentation | Keywords: Resolution: fixed | Architecture: Unknown/Multiple Operating System: | Difficulty: Easy (less than 1 Unknown/Multiple | hour) Type of failure: | Blocked By: Documentation bug | Related Tickets: Test Case: | Blocking: | Differential Revisions: Phab:D562 | -------------------------------------+------------------------------------- Changes (by thoughtpolice): * status: new => closed * resolution: => fixed -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9870#comment:2> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
participants (1)
-
GHC