use Prolog syntax highlighting for Mercury code

This commit is contained in:
Julian Fondren 2019-08-16 14:10:39 -05:00
parent d03bbc1820
commit ed63ebcd61

View File

@ -7,7 +7,7 @@ contributors:
Mercury is a strict, pure functional/logic programming language, with Mercury is a strict, pure functional/logic programming language, with
influences from Prolog, ML, and Haskell. influences from Prolog, ML, and Haskell.
```mercury ```prolog
% Percent sign starts a one-line comment. % Percent sign starts a one-line comment.
% foo(Bar, Baz) % foo(Bar, Baz)
@ -97,7 +97,7 @@ voter(P) :-
Complete runnable example. File in 'types.m'; compile with 'mmc --make types'. Complete runnable example. File in 'types.m'; compile with 'mmc --make types'.
```mercury ```prolog
:- module types. :- module types.
:- interface. :- interface.
:- import_module io. % required for io.io types in... :- import_module io. % required for io.io types in...