Skip to content

Rename "proc"/"pump" to "driver" and update format #23

@kjekac

Description

@kjekac

Procs should be called drivers. Additionally we should change their format from this

type Driver = Array (MsgID, Effect) -> MsgID -> Any -> Driver

to this

type Driver = MsgID -> Any -> (Driver, Array (MsgId, Effect))

Since this is more consistent with the format for cogs, where outputs aren't kept in the closure. The new docs (WIP; not yet published) already reflect this format change.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions