mirror of
https://forge.katzen.cafe/katzen-cafe/iowo.git
synced 2024-11-22 13:44:42 +01:00
add example for multiple generics
This commit is contained in:
parent
e1dc5ce132
commit
b91e697449
|
@ -9,6 +9,11 @@ Operator signature that takes two unnamed arbitrary numbers of the same type and
|
||||||
Op<T: Num> [ T T ] -> T
|
Op<T: Num> [ T T ] -> T
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Operator signature that takes any color and any number type, and returns a color again:
|
||||||
|
```iowo
|
||||||
|
Op<C: Color, M: Num> [ C M ] -> C
|
||||||
|
```
|
||||||
|
|
||||||
Operator that takes a 32 bit signed integer and returns another:
|
Operator that takes a 32 bit signed integer and returns another:
|
||||||
|
|
||||||
```iowo
|
```iowo
|
||||||
|
|
Loading…
Reference in a new issue