我在 HXT 库上看到,在我的终端提示符上有两个用于发短信的功能,它们是:
withTraceLevel
和
traceMsg
第一个函数“withTraceLevel”就像一个魅力,但第二个函数在我的代码上不起作用,我错过了什么吗?
我的代码示例:
procIntersection = proc it -> do
set1 <- (getChildren >>> withTraceLevel 5 traceTree >>> traceMsg 1 "*********************************") -< it
returnA -< Intersection { setI1 = OWLNothing, setI2 = OWLNothing{--set2--} }
输出 :
content of:
============
---XTag "rdf:Description"
| "rdf:about"="http://www.xfront.com/owl/ontologies/camera/#Body"
content of:
============
---XTag "owl:Restriction"
|
+---XTag "owl:onProperty"
| | "rdf:resource"="http://www.xfront.com/owl/ontologies/camera/#shutter-speed"
|
+---XTag "owl:cardinality"
| "rdf:datatype"="http://www.w3.org/2001/XMLSchema#nonNegativeInteger"
|
+---XText "0"
content of:
============
---XTag "rdf:Description"
| "rdf:about"="http://www.xfront.com/owl/ontologies/camera/#Camera"
content of:
============
---XTag "owl:Restriction"
|
+---XTag "owl:onProperty"
| | "rdf:resource"="http://www.xfront.com/owl/ontologies/camera/#viewFinder"
|
+---XTag "owl:hasValue"
| "rdf:resource"="http://www.xfront.com/owl/ontologies/camera/#ThroughTheLens"
通常,在第二个“内容”之后应该是一行:*********** 但是该行没有出现在那里!