|
drop for negative argument: msg#00050lang.haskell.glasgow.bugs
Hello, I found that in GHC.List, drop is defined so that drop (-1) ls = [], which probably is a typing-error, since it disobeys the splitAt n ls == (take n ls, drop n ls) rule. I suggest changing that in future releases. Regards, Daniel Fischer
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | make install dies due to empty INSTALL_LIBS, Remi Turk |
|---|---|
| Next by Date: | RE: make install dies due to empty INSTALL_LIBS, Simon Marlow |
| Previous by Thread: | make install dies due to empty INSTALL_LIBS, Remi Turk |
| Next by Thread: | RE: drop for negative argument, Simon Peyton-Jones |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |