mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-18 16:51:51 +03:00
Update src/Idris/Doc/Keywords.idr
This commit is contained in:
parent
2859fcee08
commit
b48a2d11f0
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user