| 31 | |
| 32 | // :: (a -> boolean) => [a] => [a] |
| 33 | export const all = f => x => { |
| 34 | for (let i = 0; i < x.length; i++) { |
| 35 | if (!f(x[i])) return false; |
| 36 | } |
| 37 | |
| 38 | return true; |
| 39 | }; |
| 40 | |
| 41 | // :: a -> [a] -> [a] |
| 42 | export const without = (toRemove) => (point) => |