changeset 394:e6e897c7f604

Compiler seems to need help with the type of this one, getting module type incomplete otherwise
author Chris Cannam
date Tue, 24 Sep 2013 17:30:51 +0100
parents 96376f4e72bd
children 23d1ab8908d9
files src/may/vamp.yeti
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/may/vamp.yeti	Tue Sep 24 11:37:19 2013 +0100
+++ b/src/may/vamp.yeti	Tue Sep 24 17:30:51 2013 +0100
@@ -171,7 +171,7 @@
     binNames = array (map string od#binNames),
     sampleType = sampleType od#sampleType od#sampleRate,
     hasDuration = od#hasDuration,
-    get computes () = case rdfOutputData of Some data: data.computes; None (): Unknown () esac,
+    computes is Event string | Feature string | Signal string | Unknown () = case rdfOutputData of Some data: data.computes; None (): Unknown () esac,
     get inferredStructure () = structureOf rdfOutputData od,
     };