Hello,
Here is another set of patches that fixes a small issue with CAST: the current CAST uses GetType with an assembly-qualified type-name only, and therefore will not work with types in an assembly loaded using System.Reflection.Assembly.LoadFrom and similar. The patch makes CAST use a Type-object directly if passed one instead of a type-name, like NEW already did.
That is, one can do
(setf assembly (invoke "System.Reflection.Assembly" "LoadFrom" url)) (setf mytype (invoke assembly "GetType" sometypename)) (cast someobject mytype)
This should be the minimal neccessary support for these kinds of assemblies in case they are needed for an application.
Regards, Iver Odin Kvello iok@selvaag.no