doc/tutorial/basics: add basics tutorial

Change-Id: I350244d6db5e20be4ab3913dc864f61923b2738f
diff --git a/doc/tutorial/basics/listcomp.md b/doc/tutorial/basics/listcomp.md
new file mode 100644
index 0000000..1329751
--- /dev/null
+++ b/doc/tutorial/basics/listcomp.md
@@ -0,0 +1,20 @@
+[TOC](Readme.md) [Prev](interpolfield.md) [Next](fieldcomp.md)
+
+# List Comprehensions
+
+Lists can be created with list comprehensions.
+
+The example shows the use of `for` loops and `if` guards.
+
+
+<!-- CUE editor -->
+```
+[ x*x for x in items if x rem 2 == 0]
+
+items: [ 1, 2, 3, 4, 5, 6, 7, 8, 9 ]
+```
+
+<!-- result -->
+```
+[4, 16, 36, 64]
+```
\ No newline at end of file