UNPKG

moy-fp

Version:
19 lines (16 loc) 361 B
import __ from '../../src/Function/__' /** * IO I => I a -> a */ import unsafePerformIO from '../../src/Functor/unsafePerformIO' import IO from '../../src/Functor/IO/index' test('IO(not using __)', () => { expect( unsafePerformIO(IO.of(12)) ).toBe(12) }) test('IO(not using __)', () => { expect( unsafePerformIO(__)(IO.of(12)) ).toBe(12) })