add example for multiple generics

This commit is contained in:
Schrottkatze 2024-01-11 10:55:25 +01:00
parent e1dc5ce132
commit b91e697449

View file

@ -9,6 +9,11 @@ Operator signature that takes two unnamed arbitrary numbers of the same type and
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:
```iowo