8000 Allow pipe into `await` · Issue #727 · evhub/coconut · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Allow pipe into await #727
Closed
Closed
@evhub

Description

@evhub

Adding fmap support for awaitables would allow writing

await (
    get_data()
    |> async_func
    |> fmap$(non_async_func))
)

instead of having to write

(await async_func(get_data()) |> non_async_func

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0