mirror of
https://codeberg.org/ProgramSnail/lang_2023.git
synced 2025-12-25 08:18:43 +00:00
Revert "Revert "changes for new grammar, fixes""
This reverts commit 03dea59d33.
This commit is contained in:
parent
03dea59d33
commit
92a6100349
10 changed files with 59 additions and 5 deletions
|
|
@ -106,10 +106,10 @@ namespace var \div {
|
|||
|
||||
typeclass \eq =
|
||||
& var ( == ) : \eq -> \bool
|
||||
& var ( != ) : \eq -> \bool
|
||||
& var ( <> ) : \eq -> \bool
|
||||
|
||||
namespace var \eq {
|
||||
def ( != ) : x = not: (self == x)
|
||||
def ( <> ) : x = not: (self == x)
|
||||
}
|
||||
|
||||
//
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue