dust/examples/type_inference.ds
2024-06-19 00:05:58 -04:00

3 lines
61 B
Plaintext

foo = fn |T| (x: T) -> T { x }
bar: str = foo::(str)::("hi")