Can people really do math in #Lisp?
Conversation
Notices
-
Embed this notice
VnPower (vnpower@misskey.pm)'s status on Friday, 24-Jan-2025 21:16:36 JST VnPower
-
Embed this notice
hajovonta (hajovonta@mastodon.online)'s status on Friday, 24-Jan-2025 21:16:32 JST hajovonta
@max_muehsal
I agree. The popular math notation has a serious flaw of having operator precedence. After a while the S-expression notation becomes much more clear.MortSinyx likes this. -
Embed this notice
Max (max_muehsal@mastodon.social)'s status on Friday, 24-Jan-2025 21:16:34 JST Max
@VnPower ( * 2 3 4 5 …. ) is really short! And it is so easy to parse. Do it for some time, and you start to hate the orher notation.
-
Embed this notice
Max (max_muehsal@mastodon.social)'s status on Friday, 24-Jan-2025 21:16:35 JST Max
@VnPower what is math 2 u?
-
Embed this notice
VnPower (vnpower@misskey.pm)'s status on Friday, 24-Jan-2025 21:16:35 JST VnPower
@max_muehsal I mean, can you look at a piece of Lisp code that evaluates a math formula and know what that formula really looks like in its raw form?
-
Embed this notice
Paolo Amoroso (amoroso@fosstodon.org)'s status on Friday, 24-Jan-2025 21:16:46 JST Paolo Amoroso
@VnPower Lisp has been used since the early 1960s for pioneering work on computer algebra systems, see for example Macsyma:
MortSinyx likes this. -
Embed this notice
VnPower (vnpower@misskey.pm)'s status on Friday, 24-Jan-2025 21:41:43 JST VnPower
Thanks for all of your responses! I'm new to Lisp and haven't done too much research. TBH after all of this I still can't imagine that one day I'd be able to write Lisp notation fluently. Perhaps I'll need some time working with it...
@lispm @hajovonta @max_muehsal @vindarel @xy @ksaj @amoroso @papachan @lily -
Embed this notice
MortSinyx (cnx@awkward.place)'s status on Friday, 24-Jan-2025 21:41:43 JST MortSinyx
@VnPower, I highly recommend going thru the first couple chapters of SICP for some basic arithmetic and calculus in Scheme.
-
Embed this notice