tvl-depot/ach/functions.ach
Griffin Smith ecb4c0f803 Universally quantified type variables
Implement universally quantified type variables, both explicitly given
by the user and inferred by the type inference algorithm.
2021-03-14 16:43:47 -04:00

3 lines
70 B
Text

fn id x = x
fn plus (x: int) (y: int) = x + y
fn main = plus (id 2) 7