• Delphi Library that implements higher-order functions like Map, Reduce

    From Wisdom90@21:1/5 to All on Tue Dec 31 09:48:56 2019
    Hello,


    Delphi Library that implements higher-order functions like Map, Reduce
    and Filter

    Author: Amine Moulay Ramdane

    Description:

    Delphi Library that implements higher-order functions like: Map, Reduce
    and Filter.

    Map: This is available in many functional programming languages. This
    takes as arguments a func function and a list of elements list, and
    returns a new list with func applied to each element of the list.

    Reduce: This is also known as Fold. This requires a combining function,
    a starting point for a data structure, and possibly some default values
    to be used under certain conditions. The Reduce function proceeds to
    combine elements of the data structure using the injected function. This
    is used to perform operations on a set of values to get only one result
    (or a smaller set of values) that represents the reduction of that
    initial data. For example, the values 1, 2, and 3 can be reduced to the
    single value 6 using the SUM .

    Filter: This requires a data structure and a filter condition. This
    returns all the elements in the structure that match the filter condition.

    Please look at the Delphi demo inside the zip file called
    test_MapReduce.pas .

    Language: Delphi 2009+

    Operating Systems: Windows, Mac OSX , Linux


    You can download it from:

    https://sites.google.com/site/scalable68/delphi-library-that-implements-higher-order-functions-like-map-reduce-and-filter


    Thank you,
    Amine Moulay Ramdane.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Wisdom90@21:1/5 to All on Tue Dec 31 10:16:52 2019
    On 12/31/2019 9:48 AM, Wisdom90 wrote:
    Hello,


    Delphi Library that implements higher-order functions like Map, Reduce
    and Filter

    Author: Amine Moulay Ramdane

    Description:

    Delphi Library that implements higher-order functions like: Map, Reduce
    and Filter.

    Map: This is available in many functional programming languages. This
    takes as arguments a func function and a list of elements list, and
    returns a new list with func applied to each element of the list.

    Reduce: This is also known as Fold. This requires a combining function,
    a starting point for a data structure, and possibly some default values
    to be used under certain conditions. The Reduce function proceeds to
    combine elements of the data structure using the injected function. This
    is used to perform operations on a set of values to get only one result
    (or a smaller set of values) that represents the reduction of that
    initial data. For example, the values 1, 2, and 3 can be reduced to the single value 6 using the SUM .

    Filter: This requires a data structure and a filter condition. This
    returns all the elements in the structure that match the filter condition.

    Please look at the Delphi demo inside the zip file called
    test_MapReduce.pas .

    Language: Delphi 2009+

    Operating Systems: Windows, Mac OSX , Linux


    You can download it from:

    https://sites.google.com/site/scalable68/delphi-library-that-implements-higher-order-functions-like-map-reduce-and-filter



    Thank you,
    Amine Moulay Ramdane.


    Sorry, the Operating Systems supported are:

    Windows, Mac OSX , Linux, iOS, Android



    Thank you,
    Amine Moulay Ramdane.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)