pocomath/src/tuple/tuple.mjs

7 lines
218 B
JavaScript
Raw Normal View History

export {Tuple} from './Types/Tuple.mjs'
/* The purpose of the template argument is to ensure that all of the args
* are convertible to the same type.
*/
export const tuple = {'...any': () => args => ({elts: args})}