[erlang-questions] Directly matching record fields illegal?

Vance Shipley <>
Mon Dec 31 03:13:26 CET 2007


This suprised me, has it always been this way?

     5> Foo#foo.ref = Bar#bar.ref.
     ** 1: illegal pattern **

     6> F = Foo#foo.ref.
     1
     7> B = Bar#bar.ref.
     1
     8> F = B.
     1

--
	-Vance



More information about the erlang-questions mailing list