paulyoung / purescript-corefn

A library for working with the PureScript functional core.
Apache License 2.0
23 stars 7 forks source link

Test parsing all modules #46

Closed joneshf closed 6 years ago

joneshf commented 6 years ago

As mentioned in #45, we can try to parse every module we use (and the ones we're writing) as a real-world test case. It's surprisingly quick (not much difference in CI speed from before). It ended up finding a bug in case alternatives.

I just kind of threw this module together. Let me know if you'd like anything done differently.

paulyoung commented 6 years ago

Looks good! I’ll probably do something similar in master at some point.

paulyoung commented 6 years ago

A quick afterthought is that this will break when 0.12 is released, so the 0.11 branch will need to update it's .travis.yml file to specify the version.