summaryrefslogtreecommitdiff
path: root/test/exportmain.myr
blob: 36bd5c846d65c2fd14209d7d7c33cc20d01ca448 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use std

pkg =
	const foo	: (val:int -> int)
;;


const foo = {val
	-> val
}

const main = {
	-> foo(42)
}