@b-jones-rfd/func-help - v0.7.1
    Preparing search index...

    Type Alias Unit

    Unit: void

    The result of a computation run only for its effect.

    It stands in for Haskell's (); it is void so ordinary functions that return nothing fit without a cast.

    import { IO, type Unit } from '@b-jones-rfd/func-help'
    const log = (msg: string): IO<Unit> =>
    IO.from(() => {
    console.log(msg)
    })