summaryrefslogtreecommitdiffstats
path: root/src/journal/17-list.rst
blob: 6de7c000b3a2d3d338f20ff628b4960a65aad66a (plain)
1
2
3
4
5
6
7
8
9
10
.. frontmatter
   title: List
   date: 2015-07-24
   author: Johannes Löthberg
   author_link: /~kyrias/about.html

.. code:: haskell

  data List a = Cons a (List a)
              | Nil