On Fri, Dec 23, 2016 at 2:08 AM, Antti Ylikoski
<
antti.y...@gmail.com> wrote:
> Mark:
>
> Could you be more specific about that statement?
>
> I mean that if I repeatedly will get errors, which you cannot reproduce,
> then it is fairly certain that my hardware/software platform is flawed.
>
> I feel that we can be certain that Shen is OK. But I have previously been
> suspecting the GNU/Linux/CLisp platform.
>
> yours, AJY
> The E.U.
>
Your Shen install is fine, it is just that the way you are trying to
type put/get (which only take the number of arguments you are using
because of macros) will not work. Try this:
(datatype property-type-symbols
Value : symbol;
__________________
(put Var Prop Value) : symbol;
__________________
(get Var Prop) : symbol;)
You can enable 'spy' mode to see what the type checking is doing with
(spy +) before executing the type expression to be typechecked, try
before executing a get or put expression after having used your type
definition and hit enter until it fails and you will see why your
version doesn't work (see what "put : (symbol --> symbol --> symbol
--> symbol)" is trying to be unified with).
--
BD