X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;ds=sidebyside;f=mop.lisp;h=0771543be9f0cc3bb3a91ddc3db84f6a15e96988;hb=41f450532d8ead3125c528f1ad7a1614aae1f93a;hp=47a2aaeb3d37a2da6b0a5983383a66bd6cdbfe36;hpb=68758a88e44b4bacb0f8cce68166ff0f8d5b3100;p=hyperobject.git diff --git a/mop.lisp b/mop.lisp index 47a2aae..0771543 100644 --- a/mop.lisp +++ b/mop.lisp @@ -402,6 +402,13 @@ SQL name" (or (eq type 'string) (and (listp type) (some #'(lambda (x) (eq x 'string)) type)))) +(defun value-type-is-a-string (type) + (or (eq type 'string) + (eq type 'cdata) + (and (listp type) (some #'(lambda (x) (or (eq x 'string) + (eq x 'cdata))) + type)))) + (defun base-value-type (value-type) (if (atom value-type) value-type