Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Risk manager example #37

Closed
wants to merge 8 commits into from
Closed

Risk manager example #37

wants to merge 8 commits into from

Conversation

marcosh
Copy link
Owner

@marcosh marcosh commented Jan 30, 2023

This PR contains a fairly complex example which showcases how to actually create some state machines and compose them to build a full application constructed following an architecture based on CQRS and DDD

It includes several changes to the main types of the application which were needed to make the example work

closes #24

Moreover it implements also effectful machines, i.e. machines now can be executed in a context described by a monad

closes #29

Marco Perone added 8 commits January 26, 2023 18:18
implement that by showing that `StateMachine a b` is isomorhpic to `NonEmpty a -> b`
Also:
- remove singleVertexTopology and use trivialTopology instead
- simplify Demote condition
- generalize trivialTopology for any possible state
@marcosh marcosh closed this Feb 27, 2023
@marcosh marcosh deleted the risk-manager-example branch February 27, 2023 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Effectful machines Create a complex example
1 participant