Reputation: 843
Consider the sample code:
Require Import BinNat.
Open Scope N.
Check (N.ones).
(* Error: The reference ones
was not found in the current environment. *)
Check (ones).
How do I import BinNat
in such a way that I don't have to resolve ones
to N.ones
?
Upvotes: 0
Views: 112
Reputation: 15404
The Import
command can help:
From Coq Require Import BinNat.
Import N.
About ones.
Upvotes: 1