mietek / haskell-on-heroku

Buildpack for deploying Haskell apps
BSD 3-Clause "New" or "Revised" License
131 stars 16 forks source link

Fix expect_vars/expect_args inconsistency #19

Closed mietek closed 9 years ago

mietek commented 10 years ago

Currently, expect_vars (and has_vars) requires vars to be non-empty, but expect_args does not. This should be consistent.

Either change expect_vars and add separate non-empty checks, or ensure we never use empty args and change expect_args.

mietek commented 9 years ago

The behaviour of each function is now documented as part of the bashmenot library reference.

“A foolish consistency is the hobgoblin of little minds.” — Ralph Waldo Emerson