Selecting categories by first letter
If you don't mind using the search parameter you could add it like this:

{% set beer = 'a' %}
{% set allCats = craft.categories.search('title:' ~ beer ~ '*').limit(null) %}