UNPKG

@dillonkearns/elm-graphql

Version:

<img src="https://cdn.jsdelivr.net/gh/martimatix/logo-graphqelm/logo.svg" alt="dillonearns/elm-graphql logo" width="40%" align="right">

14 lines (10 loc) 286 B
// @flow import {curry} from "flow-static-land/lib/Fun"; /** * Returns a new Array with elements appended to the one given. */ const append = <Element>( elements: Array<Element>, array: Array<Element> ): Array<Element> => [...array, ...elements]; export default curry(append);