3 ms·
It seems like a bad idea to use the same “where” syntax for definitions and test cases, especially since a major aim of this is education.
by da39a3ee 5y ago
It seems like a bad idea to use the same “where” syntax for definitions and test cases, especially since a major aim of this is education.
- jpolitz 5y agoThe `where:` syntax ought to only be for test cases attached to functions. Maybe this comment is a useful answer: https://news.ycombinator.com/item?id=28265210 https://news.ycombinator.com/item?id=28265210