Changeset 8604 for src/Pugs/Prim/Yaml.hs
- Timestamp:
- 01/07/06 11:59:25 (3 years ago)
- Files:
-
- 1 modified
-
src/Pugs/Prim/Yaml.hs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/Pugs/Prim/Yaml.hs
r8603 r8604 67 67 hash <- fromVal v :: Eval VHash 68 68 attrs <- toYaml $ VRef (hashRef hash) 69 return $ addTag (Just $ " !pugs:object/" ++ showType (objType obj)) attrs69 return $ addTag (Just $ "tag:pugs:object:" ++ showType (objType obj)) attrs 70 70 where 71 71 addTag _ (YamlMap (Just x) _) = error ("can't add tag: already tagged with" ++ x)
