Avatar
Runtime warningが出せるのも面白いし、パラメータを探っていくのも面白かった https://www.pointfree.co/blog/posts/70-unobtrusive-runtime-warnings-for-libraries
Runtime warnings in libraries are a great way to notify your users that something unexpected has happened, or that an API is being used in an incorrect manner. In this post we give an overview of some techniques that can be employed easily today, as well as discuss a technique for surfacing runtime warnings that is both very visible and unobtrus...