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

Prediction failure #1

Open
agustinmista opened this issue Nov 21, 2018 · 0 comments
Open

Prediction failure #1

agustinmista opened this issue Nov 21, 2018 · 0 comments
Labels
bug Something isn't working

Comments

@agustinmista
Copy link
Member

I've found a bug in the prediction mechanism with the following piece of code:

data Top    
  = RndExp RndExp
  | PatExp PatExp
  deriving (Show, Generic)

data RndExp 
  = LitExp Int    
  | AddExp Top Top 
  deriving (Show, Generic)

data PatExp 
  = Pat1 Top      
  | Pat2 Top 
  deriving (Show, Generic)

dragenArbitrary ''Top 10 uniform

I will edit this issue with the wrong results soon.

@agustinmista agustinmista added the bug Something isn't working label Nov 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant