18+ brokenix,
@brokenix@emacs.ch avatar

ANSI Common standard.

Convert a Lambda Expression as List to a Function
how does it still remain a functional lang then?
https://stackoverflow.com/questions/40031593/sbcl-lambda-expressions

18+ screwtape,
@screwtape@mastodon.sdf.org avatar

@brokenix
Yeah, I really like that description of lisp as the least functional language

Next try (function-lambda-expression (compile nil '(lambda (x) (* x x))))

18+ louis,
@louis@emacs.ch avatar

@screwtape @brokenix The term "functional programming language" is so overloaded that it is almost useless nowadays.

Lambda calculus influenced the functional language paradigm but CL certainly is a procedural language. Also because it doesn't care about functional purity and statelessness.

18+ brokenix,
@brokenix@emacs.ch avatar

@louis @screwtape look this is how I d see the difference and correct me if I am wrong is here , the difference is start with is the one between concatentive langs and applicative Lang's (Applicative is Church's- a program is function application, and Concatenative is Turing's- a program is a list of instructions) , but that happens with function application like every thing else there ,so far as \ calculus is concerned it starts with one need currying to get a ( higher order) function to accept > 1 arcs
So why can't I call a purely applicative lang fp and not FP when its not that?

18+ brokenix,
@brokenix@emacs.ch avatar

@louis @screwtape earliest versions of Common Lisp attempted to implement lexical scoping, but inadvertently wound up with dynamic scoping. They actually managed to change the language to use lexical scoping.

Other languages may achieve similar effects via implicit parameters. Implicit Parameters: Dynamic Scoping with Static Types shows how to add this to Haskell (Hugs implements something based on this).
https://yz.mit.edu/wp/lisp-scoping/

  • All
  • Subscribed
  • Moderated
  • Favorites
  • Lisp
  • DreamBathrooms
  • mdbf
  • ethstaker
  • magazineikmin
  • GTA5RPClips
  • rosin
  • thenastyranch
  • Youngstown
  • osvaldo12
  • slotface
  • khanakhh
  • kavyap
  • InstantRegret
  • Durango
  • provamag3
  • everett
  • cisconetworking
  • Leos
  • normalnudes
  • cubers
  • modclub
  • ngwrru68w68
  • tacticalgear
  • megavids
  • anitta
  • tester
  • JUstTest
  • lostlight
  • All magazines