[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: user def symbols for use in @Eq - misbehaving!
From: |
Daren Scot Wilson |
Subject: |
Re: user def symbols for use in @Eq - misbehaving! |
Date: |
Tue, 27 Dec 2011 16:46:05 -0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111124 Thunderbird/8.0 |
Aha! Enlightenment!
I have misunderstood "import" thinking I should put one line at the top
of the file and then happily write many definitions. Too many years of
programming in Ruby, Python, and D have brainwashed me into thinking
that way. So, each def needs its own "import" or "extend" preamble, if
it needs anything at all.
Now I have no problems any morel with mydefs looking like this:
import @BasicSetup def @op { @Ding a66 }
import @Math def @opr { @op sub r }
import @Math def @opone {times}
...etc...
BTW, I've replaced all @Eq with @Math, just to be proper and with-it.
--
Daren Scot Wilson
Escondido California
720-253-2646 (cell)
address@hidden
http://www.darenscotwilson.com