diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2020-08-17 18:13:58 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2020-08-17 18:13:58 +0200 |
commit | c1cbef6611df9c8918fee8699b5867d8a54ac810 (patch) | |
tree | 46ab04d457eda5e7c0873efe3480d5c68ef1d4c2 /module/vcomponent/base.scm | |
parent | Got type files out of output. (diff) | |
download | calp-c1cbef6611df9c8918fee8699b5867d8a54ac810.tar.gz calp-c1cbef6611df9c8918fee8699b5867d8a54ac810.tar.xz |
even more.
Diffstat (limited to 'module/vcomponent/base.scm')
-rw-r--r-- | module/vcomponent/base.scm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/module/vcomponent/base.scm b/module/vcomponent/base.scm index 7b81fb05..47815a0e 100644 --- a/module/vcomponent/base.scm +++ b/module/vcomponent/base.scm @@ -189,3 +189,8 @@ (define-public (x-property? symb) (string=? "X-" (string-take (symbol->string symb) 2))) + +(define*-public (internal-field? symbol optional: (prefix "-")) + (string=? prefix + (string-take-to (symbol->string symbol) + (string-length prefix)))) |