Open dselsam opened 3 years ago
Currently, when we align e.g. list -> List, we do not change the list namespace to List, so dot-notation fails:
list
List
dot
import Lean3Lib.init.data.list.basic open Mathlib #check list.nth ([2, 4] : List Nat) 1 -- succeeds #check ([2, 4] : List Nat).nth 1 -- fails
This is not completely straightforward to fix since there may be clashing names.
Currently, when we align e.g.
list
->List
, we do not change thelist
namespace toList
, sodot
-notation fails:This is not completely straightforward to fix since there may be clashing names.