The core process defaults and API should be different #81
Labels
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: twc/ludus#81
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Here are a few different and orthogonal ideas for improving the process behaviour and interaction that's different than what Elixir does:
spawn!
should link processes by defaultunlink!
removes the linkfledge!
is the equivalent ofspawn!
thenunlink!
monitor!
converts the link to a message, with the same tuple-shaped responseawait!
continues to panic if the exit isn't:ok
await! (xs)
uses afold
to return a list of the resultsAnd some more sugar for methods:
heed!
a response, and methods that don't, do. E.g.,turtle ::forward! (100)
is a send-offturtle ::position ()
is a send-heed or send-sync or whateverThis gets us a lot of the way to more ludusy ways of doing things.
Add a
stay_alive!()
function:First bit done, as of
a444f789f3