HS: restore hs-id= after merge (compiler dispatch + runtime def)
Lost when resolving E37 reformat conflicts — re-added: - hs-id= function in runtime.sx (JS === for elements, = for scalars) - hs-id= dispatch in compiler.sx (after = clause) Parser already uses hs-id= for != operator (unchanged).
This commit is contained in:
@@ -1151,6 +1151,11 @@
|
||||
(quote =)
|
||||
(hs-to-sx (nth ast 1))
|
||||
(hs-to-sx (nth ast 2))))
|
||||
((= head (quote hs-id=))
|
||||
(list
|
||||
(quote hs-id=)
|
||||
(hs-to-sx (nth ast 1))
|
||||
(hs-to-sx (nth ast 2))))
|
||||
((= head (quote +))
|
||||
(list
|
||||
(quote hs-add)
|
||||
|
||||
@@ -1151,6 +1151,11 @@
|
||||
(quote =)
|
||||
(hs-to-sx (nth ast 1))
|
||||
(hs-to-sx (nth ast 2))))
|
||||
((= head (quote hs-id=))
|
||||
(list
|
||||
(quote hs-id=)
|
||||
(hs-to-sx (nth ast 1))
|
||||
(hs-to-sx (nth ast 2))))
|
||||
((= head (quote +))
|
||||
(list
|
||||
(quote hs-add)
|
||||
|
||||
Reference in New Issue
Block a user