~spidernet/algebraiC

Examples of sum algebraic data types in C99
367f14ed — Alessio Chiapperini 2 months ago
Add README.md
7486aaad — Alessio Chiapperini 7 months ago
Add null check to make_zero function
c7774b57 — Alessio Chiapperini 7 months 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.