Have you ever wondered what happens beneath the covers when you talk to your Database? Well, you are in for a treat! In this talk, we are going to uncover the dark magic behind Database Drivers. We will look at everything that is needed to talk to a database, query its data, and transform it into the native data types in Elixir.
https://speakerdeck.com/maqbool/building-a-mysql-database-driver-in-elixir
In Haskell when you define a variable you cannot change that variable values unlike Imperative languages.
For example In C we can define:
int value = 0 value = 1 // We can update the value In this case to 1
The above assignment is legal in C-Style Imperative Programming languages.
While in Haskell if you define a variable and bind a value. In the scope the variable is declared it will remain unchanged
For example let take this snippet
Prelude> inc x = x + 1Prelude> xinc x = inc x Prelude> inc 1
2Prelude> xinc 1
2
Prelude> inc x = x +…
Download the Pharo and decompress the file
$ unzip Pharo.zip
$ sudo mv Pharo /opt/
Create the pharo.desktop file and paste the following contents
Move .desktop file to .local/share/applications/
$ mv pharo.desktop .local/share/applications/
Create ~/.icons directory
$ mkdir ~/.icons
$ sudo cp /opt/pharo6.1–64/icons/Pharo.png ~/.icons
Happy Coding!