summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorKrasimir Angelov <kr.angelov@gmail.com>2017-08-30 15:59:43 +0200
committerKrasimir Angelov <kr.angelov@gmail.com>2017-08-30 15:59:43 +0200
commit08a728799a8920fc3d82cdb8c1bdba99a0d1afdf (patch)
tree0a027f963a5b78997a5f284a080ff376fff8cbd0 /doc
parent97fe5df267dc7e5611a5a93699d031727165bd2a (diff)
change tabularLinearize in the Haskell binding to return a list instead of map this preserves the order
Diffstat (limited to 'doc')
-rw-r--r--doc/runtime-api.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/runtime-api.html b/doc/runtime-api.html
index a441703f7..31a5b623d 100644
--- a/doc/runtime-api.html
+++ b/doc/runtime-api.html
@@ -363,7 +363,7 @@ then the right method to use is <tt>tabularLinearize</tt>:
</pre>
<pre class="haskell">
Prelude PGF2> tabularLinearize eng e
-fromList [("s Pl Gen","red theatres'"),("s Pl Nom","red theatres"),("s Sg Gen","red theatre's"),("s Sg Nom","red theatre")]
+[("s Sg Nom","red theatre"),("s Sg Gen","red theatre's"),("s Pl Nom","red theatres"),("s Pl Gen","red theatres'")]
</pre>
<pre class="java">
for (Map.Entry&lt;String,String&gt; entry : eng.tabularLinearize(e).entrySet()) {