>
generic function as follows:(defgeneric > (a b))Checking it out at the REPL:
(defmethod > ((a number) (b number))
#{ jsnums.greaterThan(~a, ~b) #})
(> 200000000000000000000000000000000000000000 100000000000000000000000000000000000000000)Yay!
#t
EdgeLisp is FAR from usable by anyone but me, but at this point I just had to blog about it. You can check it out here if you want.
Disclaimer: docs are outdated, and the project is in rapid flux.
The more I work on this, the more I respect anybody who's produced a usable PL. The sheer amount of work is unbelievable. :)
Props also to Douglas Crockford's json.js and Chris Double's jsparse.
No comments:
Post a Comment