Merge pull request #1155 from paulkoerbitz/fix/1047-repl-doc-for-typeclasses

Fix/1047 repl doc for typeclasses