sanctuary-js / sanctuary

:see_no_evil: Refuge from unsafe JavaScript
https://sanctuary.js.org
MIT License
3.03k stars 94 forks source link

array: remove S.at #623

Closed davidchambers closed 5 years ago

davidchambers commented 5 years ago

Post #622, S.at is not particularly useful. One can replace S.at (n) (xs) with S.chain (S.head) (S.drop (n) (xs)), which is longer but still very clear. Functions that deal with indices have always felt out of place in this library.