#1979: Add variants of tails and inits not returning empty lists
-------------------------------+--------------------------------------------
Reporter: mux | Owner:
Type: proposal | Status: new
Priority: normal | Milestone: 6.8.3
Component: libraries/base | Version: 6.8.1
Severity: normal | Keywords:
Difficulty: Unknown | Testcase:
Architecture: Unknown | Os: Unknown
-------------------------------+--------------------------------------------
This patch adds the tails1 and inits1 function, that behave like their
counterpart except that they won't return an empty list. I've needed them
several times already, so it seems to me they would be useful to have in
base.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1979>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs