Erlang程序中的常见错误消息如下:
** exception error: no match of right hand side value 'foo' in function module:function/2 (file.erl, line 42)
我该怎么调试呢?
erlang pattern-matching
erlang ×1
pattern-matching ×1