The Idris Tutorial Version 0.9.18used an infix operator ::. New operators such as this can be added using a fixity declaration, as follows: infixr 10 :: Functions, data constructors and type constructors may all be given infix operators operators as names. They may be used in prefix form if enclosed in brackets, e.g. (::). Infix operators can use any of the symbols: :+-*/=_.?|&>0 码力 | 69 页 | 316.20 KB | 1 年前3
The Idris Tutorial Version 0.11used an infix operator ::. New operators such as this can be added using a fixity declaration, as follows: infixr 10 :: Functions, data constructors and type constructors may all be given infix operators operators as names. They may be used in prefix form if enclosed in brackets, e.g. (::). Infix operators can use any of the symbols: :+-*\/=.?|&>0 码力 | 71 页 | 314.20 KB | 1 年前3
The Idris Tutorial Version 0.9.20.1used an infix operator ::. New operators such as this can be added using a fixity declaration, as follows: infixr 10 :: Functions, data constructors and type constructors may all be given infix operators operators as names. They may be used in prefix form if enclosed in brackets, e.g. (::). Infix operators can use any of the symbols: :+-*\/=.?|&>0 码力 | 71 页 | 316.18 KB | 1 年前3共 3 条- 1













