~spidernet/algebraiC

367f14ed — Alessio Chiapperini 3 years ago master
Add README.md
7486aaad — Alessio Chiapperini 3 years ago
Add null check to make_zero function

Protect against passing a NULL pointer to the function. Now it will
always never crash and it will return a NULL pointer if the parameter is
NULL.
c7774b57 — Alessio Chiapperini 3 years ago
Fix missing pattern in print_list

Add "catch-all" pattern in print_list function.
83fdfbbb — Alessio Chiapperini 3 years ago
Add UNLICENSE file
371a71fb — Alessio Chiapperini 3 years ago
Add list data type example

Add list data type and data constructors inspired by Miran Lipovaca's
"Learn You a Haskell for Great Good".

To demonstrate the concept added length(), print_list() and map()
functions.
bb624e86 — Alessio Chiapperini 3 years ago
Add peano numbers implementation