Experiment with Haskell language during PFONC course. https://www.haskell.org/

DricomDragon 02cef4df21 Update readme with I/O outputs 5 gadi atpakaļ
.gitignore 0aa2aebfc3 Add out folder in gitignore 5 gadi atpakaļ
LICENSE 7bd6ed4fd6 Initial commit 5 gadi atpakaļ
README.md 02cef4df21 Update readme with I/O outputs 5 gadi atpakaļ
anagram.hs f3c9e4600a Add a comment with slide number on the first line 5 gadi atpakaļ
fold.hs 71ccb3f570 Implement foldable any 5 gadi atpakaļ
geometry.hs f3c9e4600a Add a comment with slide number on the first line 5 gadi atpakaļ
guard.hs 09a3e8a526 Implement lesson example of guarded evaluation 5 gadi atpakaļ
hpal.hs f3c9e4600a Add a comment with slide number on the first line 5 gadi atpakaļ
io_cesar.hs 7dd42e264f Remove 0 as a choice 5 gadi atpakaļ
io_length.hs 3f8d0a1fa2 Implement the exercice with the `do` keyword 5 gadi atpakaļ
io_rev.hs fddc128534 Echo and reverse 5 gadi atpakaļ
io_shuffle.hs 2681135c7d Implement a prog to swap two inputs 5 gadi atpakaļ
list.hs f3c9e4600a Add a comment with slide number on the first line 5 gadi atpakaļ
listfct.hs f3c9e4600a Add a comment with slide number on the first line 5 gadi atpakaļ
logic.hs f3c9e4600a Add a comment with slide number on the first line 5 gadi atpakaļ
myfibo.hs 0709199f7f Merge files t1 and myfibo 5 gadi atpakaļ
myflip.hs f3c9e4600a Add a comment with slide number on the first line 5 gadi atpakaļ
mypower.hs f3c9e4600a Add a comment with slide number on the first line 5 gadi atpakaļ
peano.hs f3c9e4600a Add a comment with slide number on the first line 5 gadi atpakaļ
prime.hs f3c9e4600a Add a comment with slide number on the first line 5 gadi atpakaļ
tree.hs f3c9e4600a Add a comment with slide number on the first line 5 gadi atpakaļ
tripy.hs f3c9e4600a Add a comment with slide number on the first line 5 gadi atpakaļ

README.md

HaskellPlayground

Experiment with Haskell language.

Work with Haskell

Compile

ghc mymainfile

Interactive

ghci mymainfile

Follow lessons

Get the code file names according to the slide of the official PFONC lab course.

The considered slideshow contains 78 slides.

Slide 10

File guard.hs

Slide 15

mypower.hs defines e1 and e2.

myfibo.hs defines fibo.

Slide 16

hpal.hs

Slide 22

logic.hs

Slide 23

geometry.hs

Slide 28

peano.hs

Slide 29

list.hs and tree.hs

Slide 31

tripy.hs

Slide 32

listfct.hs

Slide 37

myflip.hs

Slide 41

anagram.hs

Slide 42

prime.hs with functions dividersf and primerf.

Slide 46

fold.hs

Slide 50

prime.hs with function primeinf.

Slide 55

io_rev.hs and io_shuffle.hs to compile

Slide 57

io_length.hs to compile

Slide 58

io_cesar.hs to compile