Add list data type example
commit371a71fb6dc40ab46c99f9b7343b306da8e21364
authorAlessio Chiapperini <spidernet@protonmail.com>
Thu, 14 Nov 2019 16:24:55 +0000 (14 17:24 +0100)
committerAlessio Chiapperini <spidernet@protonmail.com>
Thu, 14 Nov 2019 16:24:55 +0000 (14 17:24 +0100)
tree8fc84dba80305dbf57aefa6b64c78a4bf70c0709
parentbb624e866636a7040d83c36082a842a82947e02b
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.
list/Makefile [new file with mode: 0644]
list/list.c [new file with mode: 0644]