[m-rev.] trivial-diff: Fix a syntax error in the FAQ.

Paul Bone pbone at csse.unimelb.edu.au
Wed Sep 24 14:19:37 AEST 2008


Estimated hours taken: 0.1
Branches: main

Fix a minor syntax error in some example code in the FAQ.

doc/faq.texi:
	As above.

Index: doc/faq.texi
===================================================================
RCS file: /home/mercury/mercury1/repository/mercury/doc/faq.texi,v
retrieving revision 1.34
diff -u -p -b -r1.34 faq.texi
--- doc/faq.texi	24 Sep 2008 04:20:33 -0000	1.34
+++ doc/faq.texi	24 Sep 2008 04:23:17 -0000
@@ -217,7 +217,7 @@ lookup(Map, Key, Value) :-
                 map.search(Map, Key, Value1)
         then
                 Value = Value1
-        ;
+        else 
                 Value = -1
         ).
 @end example
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20080924/f1fb2691/attachment.sig>


More information about the reviews mailing list