Fix highlighting of code snippets

This commit is contained in:
Joachim Ansorg 2018-08-24 09:51:44 +00:00 committed by Grégoire Henry
parent 1fe3453ebf
commit 9c08caae92
No known key found for this signature in database
GPG Key ID: 50D984F20BD445D2

View File

@ -2425,6 +2425,7 @@ a name for the value on the stack. The following typing rule
demonstrates their use for instruction ``CAR``. demonstrates their use for instruction ``CAR``.
:: ::
CAR @% CAR @%
:: @p (pair ('a %fst) ('b %snd)) : 'S -> @fst 'a : 'S :: @p (pair ('a %fst) ('b %snd)) : 'S -> @fst 'a : 'S
@ -2438,6 +2439,7 @@ element. Two examples with ``PAIR`` follows, notice the special
treatment of annotations with `.`. treatment of annotations with `.`.
:: ::
PAIR %@ %@ PAIR %@ %@
:: @x 'a : @y 'b : 'S -> (pair ('a %x) ('b %y)) : 'S :: @x 'a : @y 'b : 'S -> (pair ('a %x) ('b %y)) : 'S