Last active
February 12, 2017 13:35
-
-
Save deque-blog/d1d8f1a93586ca442bfc3ee6d77f3866 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
genCst :: Gen Expr | |
genCst = fmap cst arbitrary | |
varNames :: [String] | |
varNames = [[v] | v <- ['a'..'z']] | |
genVar :: Gen Expr | |
genVar = fmap var (elements varNames) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment