Does Scala have introspection capable of something similar to Python's dir()?

前端 未结 4 608
半阙折子戏
半阙折子戏 2020-12-25 13:10

Yes, I know it\'s considered lazy by the non-Pythonistas. The reason I ask is that documentation is still woefully lacking in many Scala libraries (e.g. Scala-dbc, but that\

4条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-25 13:59

    You may want to use this little helper to beef up the REPL

提交回复
热议问题