被Coq进口混淆 [英] Confused by Coq imports

查看:128
本文介绍了被Coq进口混淆的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人可以告诉我之间的差异

Can someone please tell me the differences between


  • 需要 姓名

  • 需要导入 姓名

  • 导入 名称

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

推荐答案


  • 需要:加载外部库(通常来自标准库或 user-contribs / 文件夹);

  • 导入:导入模块中的名称。例如,如果模块 M 中的函数 f ,则执行导入M 。,您只需输入 f 而不是 Mf ;

  • 需要导入:同时需要导入

    • 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.
    • 这篇关于被Coq进口混淆的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆