Comments (3)
@dtwitty It seems Choice
is an Inductive Type and can be used to implement your use case.
You can find an example with three types in the tests.
I'm working on a similar application of it right now and can paste a link here once it's published.
from stateright.
Thank you @degregat for sharing that pointer! @dtwitty does that help?
from stateright.
Related Issues (20)
- Question about stateright states HOT 3
- Name threads when spawning for checking HOT 1
- Handle panics during checking HOT 1
- Add ability to save and load checker state HOT 4
- Go code implementation of stateright project HOT 1
- Leveraging future's state machines HOT 4
- Spawning actors with a reliable network HOT 2
- Report depth in ReportData
- Enable limiting the depth traversed by the checker
- Named timers
- Quicker detection of done state in reporter
- Question: Is it possible to share the outputs / states HOT 2
- Simulation checker
- Remove the `actions` argument from `Model::actions` and return the actions HOT 3
- `smoke_test_states` fails on the master branch. HOT 3
- `DGraph::with_path` should take the ownership of `self` to avoid cloning.
- Enable `cargo clippy` in CI
- Tag your releases HOT 2
- Simulation checker HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stateright.