function relations/0 already defined

0 views
Skip to first unread message

nii amon

unread,
Jul 19, 2009, 2:47:05 PM7/19/09
to erlyweb
Hi guys,

Does anyone have any idea why I get the following error when trying to
use the relations function:

function relations/0 already defined

I have the following in one of my module files:

-module(tag).
relations() -> [{many_to_one, [hotlink, video, gear, music,
picture]}].

when I try to compile the application, I get the error above: function
relations/0 already defined

many thanks
nii amon
Reply all
Reply to author
Forward
0 new messages