We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b51cd05 commit 7744b8eCopy full SHA for 7744b8e
src/Course/List.hs
@@ -80,6 +80,9 @@ headOr =
80
81
-- | The product of the elements of a list.
82
--
83
+-- >>> product Nil
84
+-- 1
85
+--
86
-- >>> product (1 :. 2 :. 3 :. Nil)
87
-- 6
88
0 commit comments