This website requires JavaScript.
Explore
Help
Sign In
jeff
/
dust
Watch
1
Star
0
Fork
0
You've already forked dust
Code
b3dd610949
dust
/
examples
/
type_inference.ds
4 lines
82 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Implement type inferencing
2024-06-19 04:05:58 +00:00
foo = fn |T| (x: T) -> T { x }
bar: str = foo::(str)::("hi")
Continue implementing type inference
2024-06-19 04:22:37 +00:00
baz: str = foo("hi")
Copy Permalink