Declaring an empty pattern matching function

后端 未结 0 381
-上瘾入骨i
-上瘾入骨i 2021-01-30 14:22

How do I declare an empty/case-less pattern matching function to satisfy a type definition? I\'m happy with the function just throwing a runtime exception if it\'s ever called.<

相关标签:
回答
  • 消灭零回复
提交回复
热议问题