You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are a lot of duplicate copied definitions in various code files, such as those of Empty, Unit, Bool, List, =, <, etc., and their related functions. This makes related implemented functions (proven propositions) not reusable, so when completing the exercises in different files it's necessary to copy and paste the needed ones and produce more duplicate definitions. This makes the code unnecessarily long and redundant. Would it be better to remove such duplicate definitions and just import the needed ones in appropriate places?
The text was updated successfully, but these errors were encountered:
I totally agree with the author of the issue. Do not repeat basic definitions a hundred times such as EmptyUnit, absurd, List, Bool etc from lesson to lesson. This only confuses navigation. List alone is repeated in the library at least 5 times. Bool at least 2 times. Case.ard has its own + and *, and Basics.ard has its own +. By the way, currently, Arend completion does not show which definition is imported from where, so it is very easy to get confused in the long list of identical definitions. It's best to leave one copy of each definition in Basics.ard. Even better tutorial- code could depend on arend-lib and reuse definitions from there, so that all definitions from Basics would be commented out.
There are a lot of duplicate copied definitions in various code files, such as those of
Empty
,Unit
,Bool
,List
,=
,<
, etc., and their related functions. This makes related implemented functions (proven propositions) not reusable, so when completing the exercises in different files it's necessary to copy and paste the needed ones and produce more duplicate definitions. This makes the code unnecessarily long and redundant. Would it be better to remove such duplicate definitions and just import the needed ones in appropriate places?The text was updated successfully, but these errors were encountered: