import { curry } from './curry.js' function sliceFn( from, to, list ){ return list.slice(from, to) } export const slice = curry(sliceFn)