Skip to content

Commit a026b0f

Browse files
committed
doc,haml: fixup define-haml-template grammar
1 parent f5f0afb commit a026b0f

1 file changed

Lines changed: 5 additions & 7 deletions

File tree

koyo-doc/scribblings/haml.scrbl

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -155,13 +155,11 @@ of @racket[xexpr?]s:
155155
@defform[
156156
#:literals (slot)
157157
(define-haml-template id element)
158-
#:grammar ([element
159-
(code:line slot)
160-
(code:line element)]
161-
[slot
162-
(slot keyword maybe-default)
163-
(slot keyword)
164-
(slot)])
158+
#:grammar ([element (code:line slot)
159+
(code:line element)]
160+
[slot (slot keyword default)
161+
(slot keyword)
162+
(slot)])
165163
]{
166164

167165
Defines a @tech{HAML template} named @racket[id] that expands to

0 commit comments

Comments
 (0)