Skip to content

Latest commit

 

History

History
52 lines (32 loc) · 2.18 KB

Getting Started.md

File metadata and controls

52 lines (32 loc) · 2.18 KB

Getting Started

If you use Microsoft Windows, the exe-files start without an additional program.
But if you are using Linux and don't have wine, then install wine:
Open the terminal-window and type for Debian 11:

sudo dpkg --add-architecture i386

sudo apt-get update && sudo apt install wine32 wine64 -y

For Linux Mint 20.3 open the terminal-window and type:

sudo apt-get update

sudo apt-get install wine

Unfortunately, I have no experience with other Linux versions.

Then go to the installer directory (or to heise Download) and choose the installer version for an installation of Pointfrip and download it
or choose the portable version for download, which is extracted with an unzipper and can then be used easily.

In the directory of Pointfrip is the file pointfrip.exe, which can be started by double-clicking and then a window with an event-controlled
Read-Eval-Print-Loop will appear. Function expressions can be entered here and started with Return or the triangle button in the toolbar.
If you only want to start a part of a line, you should select the area. With a double-click in the text field, the cursor jumps to a new line
at the end of the text area.

Some examples

If you want a list of increasing numbers, use the iota function with an operator ° and a real number. Like this:

iota ° 10

-->  (1 ; 2 ; 3 ; 4 ; 5 ; 6 ; 7 ; 8 ; 9 ; 10 ;)

Then you can use the apply-to-all combinator aa to square the individual values of the list with id * id.

((id * id) aa) ° iota ° 10

-->  (1 ; 4 ; 9 ; 16 ; 25 ; 36 ; 49 ; 64 ; 81 ; 100 ;)

Now let's define a function called sum and execute it.

 sum == (+ \)
 
 -->  ( )

Finally, we include the sum function in the pipeline and get the sum of the squares from 1 to 10.

sum ° ((id * id) aa) ° iota ° 10

-->  385

Now you have learned about definition, compose and map-reduce, which are important concepts in functional programming.

What else can we explain? Use github's capabilities to make suggestions.