an eDSL for composing computation steps #558
Unanswered
mccraigmccraig
asked this question in
Q&A
Replies: 1 comment 4 replies
-
well this turned out quite fun ... this code:
creates and prints a structured log of the computation path:
|
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I wanted an eDSL for composing computation steps (to give steps names, capture relevant values, log, and resume failed computations). Here's a couple of examples of what I came up with, based on a monad over thunks:
and
what do you think ? (any criticisms, suggestions, bring 'em on)
https://github.com/mccraigmccraig/koka-noodles/blob/trunk/src/steps.kk
Beta Was this translation helpful? Give feedback.
All reactions