Update src/Idris/Doc/Keywords.idr

This commit is contained in:
André Videla 2024-01-23 19:46:07 +09:00
parent 2859fcee08
commit b48a2d11f0

View File

@ -498,7 +498,7 @@ typebindDoc = """
If you declare a new operator to be typebind you can use it the same If you declare a new operator to be typebind you can use it the same
way. way.
Start by defining `typebind infixr 1 =@`, and then you can use it Start by defining `typebind infixr 0 =@`, and then you can use it
like so: `(n : Nat) =@ f n` like so: `(n : Nat) =@ f n`
`typebind` only applies to `infixr` operators and cannot be used as `typebind` only applies to `infixr` operators and cannot be used as