import {forEach} from 'rambda'
const list = [1, 2, 3]const obj = {a: 1, b: 2}
describe('R.forEach with arrays', () => { it('happy', () => { const result = forEach(a => { a }, list) result }) it('curried require an explicit typing', () => { const result = forEach<number>(a => { a })(list) result })})
describe('R.forEach with objects', () => { it('happy', () => { const result = forEach((a, b, c) => { a b c return `${a}` }, obj) result }) it('curried require an input typing and a dummy third typing', () => { const result = forEach<number, any>((a, b, c) => { a b c })(obj) result }) it('iterator without property', () => { const result = forEach(a => { a }, obj) result })})