The pragmatic theory of truth as developed by Peirce, James, and Dewey