tact-lang / tact-docs

Tact main documentation
https://docs.tact-lang.org
54 stars 41 forks source link

fix: Comparison of optionals and type conversion clarification #175

Closed novusnota closed 5 months ago

novusnota commented 5 months ago

Closes #173 (clarification of statements on implicit comparison) Closes #174 (better visibility of examples with comparing optionals)

anton-trunov commented 5 months ago

Actually, this duplication of descriptions for != and == should be fixed. I think it makes sense to merge these two subsections together

novusnota commented 5 months ago

Actually, this duplication of descriptions for != and == should be fixed. I think it makes sense to merge these two subsections together

Same can be said for > and <, >= and <=, + and -, etc. :)

anton-trunov commented 5 months ago

Same can be said for > and <, >= and <=, + and -, etc. :)

not really -- those are a lot less polymorphic than == and !=

anton-trunov commented 5 months ago

basically, I'm not a fan of maintaining two non-trivial lists of types for == and !=

novusnota commented 5 months ago