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

Add multiple Var operations in example CRTest #253

Open
ronanM opened this issue Apr 27, 2023 · 1 comment
Open

Add multiple Var operations in example CRTest #253

ronanM opened this issue Apr 27, 2023 · 1 comment

Comments

@ronanM
Copy link

ronanM commented Apr 27, 2023

Add operations with multiple Var in hedgehog.examples.state.CRTest, to explain how to mix operations with single Var and operations with multiple Var in the model.

For example:

def createList(vs: List[String]): List[CRId]

def readList(ids: List[CRId]): List[Option[String]]

Maybe related with:

I don't know how to write in Scala this trick:

@ronanM
Copy link
Author

ronanM commented Apr 30, 2023

Bad first attempt:

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

No branches or pull requests

1 participant