ecb4c0f803
Implement universally quantified type variables, both explicitly given by the user and inferred by the type inference algorithm.
3 lines
70 B
Text
3 lines
70 B
Text
fn id x = x
|
|
fn plus (x: int) (y: int) = x + y
|
|
fn main = plus (id 2) 7
|