Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Simple Haskell tags generator
# Regenerates Haskell tags in the current directory.
set -e
# Needed for case-sensitive searching. See:
# - Sort Files Like A Master With The Linux Sort Command (Bash)
export LC_ALL=C
find -type f | egrep \.hs$\|\.lhs$ | xargs -Ii hothasktags i | sort > tags
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment