如何在Julia中初始化摘要?
只是想创建一个摘要,但即使在我使用“帮助”时,它也会显示以下内容?> 有其他选择吗?如何在Julia中初始化摘要?,julia,Julia,只是想创建一个摘要,但即使在我使用“帮助”时,它也会显示以下内容?> 有其他选择吗? Julia> abstract Shape ERROR: syntax: extra token "Shape" after end of expression Stacktrace: [1] top-level scope at REPL[64]:0 正确的语法是抽象类型Shape end 您可以在REPL help模式下找到带有full关键字的文档: help?> abstract sear
Julia> abstract Shape
ERROR: syntax: extra token "Shape" after end of expression
Stacktrace:
[1] top-level scope at REPL[64]:0
正确的语法是
抽象类型Shape end
您可以在REPL help模式下找到带有full关键字的文档:
help?> abstract
search: AbstractSet abstract type AbstractChar AbstractDict AbstractFloat
Couldn't find abstract
Perhaps you meant struct or AbstractSet
No documentation found.
Binding abstract does not exist.
还有更多。你从哪里得到你的Julia语法?看起来你可能正在看一些非常旧的文档?我在Udemy买了一门课程,“与julia开始”这门课程有点过时,但似乎在大多数地方都很好。。
help?> abstract type