From 98482a68a501529780430a6cc9bf23edece4375f Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Fri, 24 Jul 2015 23:29:21 +0200 Subject: journal: Add #17: List --- src/journal/17-list.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/journal/17-list.rst (limited to 'src/journal') diff --git a/src/journal/17-list.rst b/src/journal/17-list.rst new file mode 100644 index 0000000..1f4cbe4 --- /dev/null +++ b/src/journal/17-list.rst @@ -0,0 +1,10 @@ +.. frontmatter + title: List + date: 2015-17-24 + author: Johannes Löthberg + author_link: /~kyrias/about.html + +.. code:: haskell + + data List a = Cons a (List a) + | Nil -- cgit v1.2.3-70-g09d2