Re: [xml-dev] What is syntax lifting?

From
John Cowan <>
To
Dimitre Novatchev <>
Date
2019-09-04T16:57:20Z
ID
<CABzTEQB8ej4zVJ6=>
Thread
Re: [xml-dev] What is syntax lifting?
But map and friends are *procedural* (functional) lifting.  Syntactic lifting, as far as I know, exists only in languages with syntactic abstraction (macros).  My grasp of macros beyond C, defmacro, and syntax-rules isn't particularly good, though.

On Wed, Sep 4, 2019 at 12:48 PM Dimitre Novatchev <[email protected]> wrote:
And something more understandable ...

"In languages which support first-class functions, map may be partially applied to lift a function that works on only one value to an element-wise equivalent that works on an entire container; for example, 
map square 

is a Haskell function which squares each element of a list."


On Wed, Sep 4, 2019 at 9:40 AM Dimitre Novatchev <[email protected]> wrote:

On Wed, Sep 4, 2019 at 9:27 AM Costello, Roger L. <[email protected]> wrote:
Hi Folks,

Recently I heard this term "syntax lifting" or sometimes just "lifting."

What do they mean?

/Roger

_______________________________________________________________________

XML-DEV is a publicly archived, unmoderated list hosted by OASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.

[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
Or unsubscribe: [email protected]
subscribe: [email protected]
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php