]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.scl.runtime/src-isv/Lists.mediawiki
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.scl.runtime / src-isv / Lists.mediawiki
index 2869a23a793721802cb4ea1de04090f9ae3d13f3..fd4b29b1248eb9af5081fa2b48af971472279e56 100644 (file)
@@ -1,19 +1,19 @@
-== Working with lists ==\r
-\r
-\r
-\r
-Note that some of these functions work also for other\r
-data structures than lists. \r
-<pre>\r
-!\r
-+\r
-foldl\r
-foldl1\r
-map f l        = [f x | x <- l]\r
-filter p l     = [x | x <- l, p x]\r
-sum l          = [y | x <- l, y <- x]\r
-join l         = sum l\r
-concatMap f l  = [y | x <- l, y <- f x]\r
-zip l m        = [(x,y) | x <- l | y <- m]\r
-zipWith f l m  = [f x y | x <- l | y <- m]\r
+== Working with lists ==
+
+
+
+Note that some of these functions work also for other
+data structures than lists. 
+<pre>
+!
++
+foldl
+foldl1
+map f l        = [f x | x <- l]
+filter p l     = [x | x <- l, p x]
+sum l          = [y | x <- l, y <- x]
+join l         = sum l
+concatMap f l  = [y | x <- l, y <- f x]
+zip l m        = [(x,y) | x <- l | y <- m]
+zipWith f l m  = [f x y | x <- l | y <- m]
 </pre>
\ No newline at end of file