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

DricomDragon 1f95c1ed3a Associations between slides and haskell files 5 gadi atpakaļ
.gitignore 0aa2aebfc3 Add out folder in gitignore 5 gadi atpakaļ
LICENSE 7bd6ed4fd6 Initial commit 5 gadi atpakaļ
README.md 1f95c1ed3a Associations between slides and haskell files 5 gadi atpakaļ
anagram.hs 2653b1013f Try to fix my own function but still does'nt work 5 gadi atpakaļ
fold.hs 71ccb3f570 Implement foldable any 5 gadi atpakaļ
geometry.hs d3e6558eb6 Implement the perimeter function 5 gadi atpakaļ
guard.hs 09a3e8a526 Implement lesson example of guarded evaluation 5 gadi atpakaļ
hpal.hs 562ecb93fb Implement the return function 5 gadi atpakaļ
list.hs ee01510045 Implement a function to sum Liste elements 5 gadi atpakaļ
listfct.hs 0dd603878b Create a sort function by extraction 5 gadi atpakaļ
logic.hs 1e4130bab9 Create an custom 'and' opeartor 5 gadi atpakaļ
myfibo.hs 0709199f7f Merge files t1 and myfibo 5 gadi atpakaļ
myflip.hs 3a4b1c9b6c Create a custom flip function 5 gadi atpakaļ
mypower.hs 568ce763d4 Add a faster power function 5 gadi atpakaļ
peano.hs a7d1edd356 Add an add function which is terminal 5 gadi atpakaļ
prime.hs 666121a6e2 Improve divider computation by testing with primary numbers 5 gadi atpakaļ
tree.hs 354f692377 Add the function to compute height of a binary tree 5 gadi atpakaļ
tripy.hs 44acea96cd Compute efficiently pythagore triplets 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.