~spidernet/algebraiC

Examples of sum algebraic data types in C99
367f14ed — Alessio Chiapperini 4 years ago
Add README.md
7486aaad — Alessio Chiapperini 5 years ago
Add null check to make_zero function
c7774b57 — Alessio Chiapperini 5 years ago
Fix missing pattern in print_list

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~spidernet/algebraiC
read/write
git@git.sr.ht:~spidernet/algebraiC

You can also use your local clone with git send-email.

#AlgebraiC

Implementation of Peano numbers and lazy list as sum data types in C as discussed in https://nullbuffer.com/2019/11/15/algebraic_c.html.

#Building

To compile a specific example, you can simply run

$ make

in its folder.

Do not follow this link