Skip to content

Commit 52b16dd

Browse files
Update docs/docs/reference/metaprogramming/quote-matching.md
Co-Authored-By: Fengyun Liu <[email protected]>
1 parent 7b5a622 commit 52b16dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/reference/metaprogramming/quote-matching.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Operations:
4343
'[T @annot] =?= '[P] ===> '[T] =?= '[P]
4444
'[T] =?= '[P @annot] ===> '[T] =?= '[P]
4545

46-
'{ {e0; e1; ...; en}; em } =?= '{ {p0; p1; ...; pm}; em } ===> '{ e0; {e1; ...; en; em} } =?= '{ p0; {p1; ...; pm; em} }
46+
'{ {e0; e1; ...; en}; em } =?= '{ {p0; p1; ...; pn}; pm } ===> '{ e0; {e1; ...; en; em} } =?= '{ p0; {p1; ...; pn; pm} }
4747
'{ val x: T = e1; e2 } =?= '{ val y: P = p1; p2 } ===> withEnv(x -> y)('[T] =?= '[P] &&& '{e1} =?= '{p1} &&& '{e2} =?= '{p2})
4848
'{ def x0(x1: T1, ..., xn: Tn): T0 = e1; e2 } =?= '{ def y0(y1: P1, ..., yn: Pn): P0 = p1; p2 } ===> withEnv(x0 -> y0, ..., xn -> yn)('[T0] =?= '[P0] &&& ... &&& '[Tn] =?= '[Pn] &&& '{e1} =?= '{p1} &&& '{e2} =?= '{p2})
4949

0 commit comments

Comments
 (0)