11 Aug 2011 01:37
[open-axiom-devel] Integer and ConvertibleTo String
Hi,
The domain Integer, starting from OpenAxiom-1.4.2, will no longer satisfy
the category `ConvertibleTo String'. That convertibility existed only to
allow writing `convert(i) <at> String' for an integer `i'. That looks at
best misguided. Rather, please use the function
string: Integer -> % from String
that has always existed.
-- Gaby
------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system,
user administration capabilities and model configuration. Take
the hassle out of deploying and managing Subversion and the
tools developers use with it.
http://p.sf.net/sfu/wandisco-dev2dev
I thought you were after something more elaborate where an operation from
a domain has a dependent type...
Note also that Spad does not work properly with operations returning
types -- for very deep implementation reasons, one that the Haskell
people also faced when they added type families (i.e. type-level
functions, still not accepting values at that level) leading to redesign
of Haskell type rules and extension of its theoretical foundation.
-- Gaby
------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system,
user administration capabilities and model configuration. Take
the hassle out of deploying and managing Subversion and the
tools developers use with it.
RSS Feed