bad match question

Charles Blair <>
Tue Jun 7 17:03:36 CEST 2005


i'm curious why the bad match here isn't caught until runtime:

-module(test).
-compile([export_all]).

start() ->
  Test = [a, b, c],
  Test = [1, 2, 3].

thanks.



More information about the erlang-questions mailing list