Confused by Coq imports

2019-02-22 12:22发布

Can someone please tell me the differences between

  • Require Name.
  • Require Import Name.
  • Import Name

?

1条回答
三岁会撩人
2楼-- · 2019-02-22 12:48
  • Require: load an external library (typically from the standard library or the user-contribs/ folder);
  • Import: imports the names in a module. For example, if you have a function f in a module M, by doing Import M., you will only need to type f instead of M.f;
  • Require Import: does both Require and Import.
查看更多
登录 后发表回答