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

Clean up List tests #154

Merged
merged 1 commit into from Feb 2, 2015

Conversation

Projects
None yet
2 participants
@jonathanhefner
Contributor

jonathanhefner commented Feb 2, 2015

I cleaned up many List tests to follow the discussion in #150. For the most part, the only non-primitive functions the tests rely on are foldl, (::), and map. If we really wanted to be extreme we could construct a "trusted" version of map (and foldr) in terms of foldl and (::), but that would be considerably less efficient, and I didn't want to slow the tests down. Incidentally, these tests should run faster due to the reduction of temporary list constructions.

evancz pushed a commit that referenced this pull request Feb 2, 2015

@evancz evancz merged commit b9604c0 into elm:master Feb 2, 2015

1 check passed

continuous-integration/travis-ci The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment