Skip to content

Instantly share code, notes, and snippets.

@deque-blog
Last active February 12, 2017 14:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save deque-blog/d364984a6ed96781b81ad37601771c68 to your computer and use it in GitHub Desktop.
Save deque-blog/d364984a6ed96781b81ad37601771c68 to your computer and use it in GitHub Desktop.
prop_optimize_constant :: Property
prop_optimize_constant =
forAll (sized genCstExpr) (isCst . optimize)
prop_partial_constant :: Property
prop_partial_constant =
forAll (sized genCstExpr) (isCst . partial Map.empty)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment