List Generators
From Erlang Community
Authors
Adam Lindberg
Non-empty list
If you want to generate lists which can never be empty, it's fairly simple to wrap the standard list() generator in QuickCheck:
nelist(G) ->
?LET({E, L}, {G, list(G)},
[E|L]).
|

Digg It
Del.icio.us
Reddit
Facebook
Stumble Upon
Technorati

