How can the single quote character be typeset as the ascii character ' in a LaTeX document?
For instance, consider the document:
\documentclass{standalone}
\usepackage[T1]{fontenc}
\begin{document}
\texttt{Note that alpha''' is a valid Haskell identifier.}
\end{document}
The output produced by pdflatex is

Notice how the first two quotes are typeset differently than the third one. The third one is bigger further away from the second.
With other fonts this become more evident. Adding to the preamble:
\usepackage{dejavu}
gives the result

I want all of them typeset the same way, as the ascii single quote character '.
Any clues?

alphaand\textquotesingle– Aaron McDaid Feb 07 '13 at 11:55