Update src/Idris/Doc/Keywords.idr

This commit is contained in:
André Videla 2024-01-23 19:39:32 +09:00
parent 93de3e0e07
commit 48618490d0

View File

@ -480,8 +480,8 @@ autobindDoc = """
operator sections.
`autobind` operators are desugared as a lambda:
`(x := expr) =|> fn x` -> `(expr =@ (\x : ? =|> fn x))`
`(x : ty := expr) =|> fn x` -> `(expr =@ (\x : ty =|> fn x))`
`(x := expr) =|> fn x` -> `(expr =|> (\x : ? => fn x))`
`(x : ty := expr) =|> fn x` -> `(expr =|> (\x : ty => fn x))`
"""
typebindDoc : Doc IdrisDocAnn
typebindDoc = """