Last active
January 16, 2023 11:19
-
-
Save back2dos/0f2b42fd0b305b3c534a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
enum Process<O> { | |
Emit(head:O,tail:Process<O>); | |
Held(ft:Future<Process<O>>); | |
Halt(e:Null<Error>); | |
} | |
typedef InOut<In, Out> = Process<Either<Callback<In>, Out>>; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment