shriram / smol

The SMoL (Standard Model of Languages) Family of Languages
15 stars 3 forks source link

Equality #24

Open LuKuangChen opened 1 year ago

LuKuangChen commented 1 year ago

We should remove all equality checkers except equal? and eq? and = (as a synonym for equal?). I think this way smol will be more standard. As the Pyret team summarized in their equality table, equal now (i.e., equal?) and identical (i.e., eq?) are presented in many languages, while equal forever is less known. Besides Scheme and Racket, I can’t remember any other languages providing number-specific equality or string-specific equality.

shriram commented 1 year ago

It may be good to have all the other equality primitives but report them as errors?