CodeInspectorチュートリアル
CodeInspectorチュートリアル
CodeInspector`コンテキスト内の関数は,Wolfram言語の解析のための機能を提供する.
Needs["CodeInspector`"]str = "1+f[,2]";lints = CodeInspect[str]CodeInspectSummarize[str, lints]paclet = PacletFind["CodeInspector"][[1]];buggyCollatz = paclet["AssetLocation", "Collatz"];CodeInspect[File[buggyCollatz]]CodeInspectSummarize[File[buggyCollatz], %, ConfidenceLevel -> 0.]Collatz::usage = "Collatz[n] gives a list of the iterates in the 3n+1 problem,