Skip to content

Futures/Promises thoughts #6

@rockymadden

Description

@rockymadden

I apologize in advance that this is not an actual issue, but more of a conversation if you are willing to entertain/have the bandwidth. I am curious about your thoughts on how one might approach adding Future (https://github.com/fluture-js/Fluture), Promise, and/or async/await support to the core language. To the novice lisper/ramdascripter, it seems like a few items might be addressed/thought through first:

If going the Future route and you added Fluture functions to the core ramdascript language, like fork (https://github.com/fluture-js/Fluture#fork), you could then do it fairly easily in ramdascript right? Something akin to:

pipe(
  map(futureProducingFunction),
  parallel(1),
  fork(console.error, console.log)
)([
  'https://example.com/api0',
  'https://example.com/api1',
  'https://example.com/api2'
]);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions