Can someone please tell me the differences between
Require
Name.Require Import
Name.Import
Name
?
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
.If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With