Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在多个程序中重用相同的 Dafny 代码。是否可以将一个 Dafny 文件包含在另一个文件中?该手册没有描述任何方法。
是的,在 2013 年 12 月,对“包含”语句的支持被添加到 Dafny中,语法是:
include "Includee.dfy"