gitlab #27
Change-Id: Id193ae3b4840a74710c6b86e32bfefd7e3fc3a17
"""
"""
-possibleMappedComponentPropertyValue :: String -> Resource -> <ReadGraph> Maybe Double
+possibleMappedComponentPropertyValue :: Serializable a => Typeable a => String -> Resource -> <ReadGraph> Maybe a
possibleMappedComponentPropertyValue propName r = match possibleMappedComponentVariable r with
Nothing -> Nothing
Just mv -> possiblePropertyValue mv propName
"""
"""
-mappedComponentPropertyValue :: Double -> String -> Resource -> <ReadGraph> Double
+mappedComponentPropertyValue :: Serializable a => Typeable a => a -> String -> Resource -> <ReadGraph> a
mappedComponentPropertyValue def propName r = match possibleMappedComponentVariable r with
Nothing -> def
Just mv -> match possiblePropertyValue mv propName with