You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@systemds.apache.org by ss...@apache.org on 2020/09/14 16:52:24 UTC

[systemds] branch master updated: [MINOR][DOC] Formatting fix

This is an automated email from the ASF dual-hosted git repository.

ssiddiqi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/systemds.git


The following commit(s) were added to refs/heads/master by this push:
     new ea37c48  [MINOR][DOC] Formatting fix
ea37c48 is described below

commit ea37c48ec001a65e83d209b3fd05ed3d257f655d
Author: Shafaq Siddiqi <sh...@tugraz.at>
AuthorDate: Mon Sep 14 18:50:49 2020 +0200

    [MINOR][DOC] Formatting fix
---
 docs/site/dml-language-reference.md | 53 +++++++++++++++++++------------------
 1 file changed, 27 insertions(+), 26 deletions(-)

diff --git a/docs/site/dml-language-reference.md b/docs/site/dml-language-reference.md
index 9d48047..a7dd6bf 100644
--- a/docs/site/dml-language-reference.md
+++ b/docs/site/dml-language-reference.md
@@ -2032,39 +2032,40 @@ The built-in function <code>map()</code> provides support for the lambda express
 
 Function | Description | Parameters | Example
 -------- | ----------- | ---------- | -------
-map() | It will execute the given lambda expression on a frame.| Input: (X &lt;frame&gt;, y &lt;String&gt;) <br/>Output: &lt;frame&gt;. <br/> X is a frame and y is a String containing the lambda expression to be executed on frame X. | X = read("file1", data_type="frame", rows=2, cols=3, format="binary") <br/> y = "lambda expression" <br/> Z = map(X, y) <br/> # Dimensions of Z = Dimensions of X; <br/> example: Z = map(X, "x -> x.charAt(2)")
+map() | It will execute the given lambda expression on a frame.| Input: (X &lt;frame&gt;, y &lt;String&gt;) <br/>Output: &lt;frame&gt;. <br/> X is a frame and <br/>y is a String containing the lambda expression to be executed on frame X. | X = read("file1", data_type="frame", rows=2, cols=3, format="binary") <br/> y = "lambda expression" <br/> Z = map(X, y) <br/> # Dimensions of Z = Dimensions of X; <br/> example: <br/> <code> Z = map(X, "x -> x.charAt(2)")     </code>
 
 Example let X = 
 
- ##### FRAME: nrow = 10, ncol = 1 <br/>
+    # FRAME: nrow = 10, ncol = 1
     # C1 
     # STRING 
-    west  
-    south 
-    north 
-    east  
-    south 
-    north 
-    north 
-    west  
-    west
-    east  
-
-Z = map(X, "x -> x.toUpperCase()") <br/>
-print(toString(Z))
- ##### FRAME: nrow = 10, ncol = 1 <br/>
+      west
+      south
+      north
+      east
+      south
+      north
+      north
+      west
+      west
+      east
+
+<code> Z = map(X, "x -> x.toUpperCase()") <br/> 
+print(toString(Z)) </code>
+
+    # FRAME: nrow = 10, ncol = 1 
     # C1 
     # STRING 
-    WEST  
-    SOUTH 
-    NORTH 
-    EAST  
-    SOUTH 
-    NORTH 
-    NORTH 
-    WEST  
-    WEST
-    EAST 
+      WEST
+      SOUTH
+      NORTH
+      EAST
+      SOUTH
+      NORTH
+      NORTH
+      WEST
+      WEST
+      EAST
 
 
 * * *