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

DricomDragon f3c9e4600a Add a comment with slide number on the first line 5 vuotta sitten
.gitignore 0aa2aebfc3 Add out folder in gitignore 5 vuotta sitten
LICENSE 7bd6ed4fd6 Initial commit 5 vuotta sitten
README.md 1f95c1ed3a Associations between slides and haskell files 5 vuotta sitten
anagram.hs f3c9e4600a Add a comment with slide number on the first line 5 vuotta sitten
fold.hs 71ccb3f570 Implement foldable any 5 vuotta sitten
geometry.hs f3c9e4600a Add a comment with slide number on the first line 5 vuotta sitten
guard.hs 09a3e8a526 Implement lesson example of guarded evaluation 5 vuotta sitten
hpal.hs f3c9e4600a Add a comment with slide number on the first line 5 vuotta sitten
list.hs f3c9e4600a Add a comment with slide number on the first line 5 vuotta sitten
listfct.hs f3c9e4600a Add a comment with slide number on the first line 5 vuotta sitten
logic.hs f3c9e4600a Add a comment with slide number on the first line 5 vuotta sitten
myfibo.hs 0709199f7f Merge files t1 and myfibo 5 vuotta sitten
myflip.hs f3c9e4600a Add a comment with slide number on the first line 5 vuotta sitten
mypower.hs f3c9e4600a Add a comment with slide number on the first line 5 vuotta sitten
peano.hs f3c9e4600a Add a comment with slide number on the first line 5 vuotta sitten
prime.hs f3c9e4600a Add a comment with slide number on the first line 5 vuotta sitten
tree.hs f3c9e4600a Add a comment with slide number on the first line 5 vuotta sitten
tripy.hs f3c9e4600a Add a comment with slide number on the first line 5 vuotta sitten

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.