NFun icon indicating copy to clipboard operation
NFun copied to clipboard

Type aliases

Open tmteam opened this issue 3 years ago • 0 comments

type user:  { name: text, age:int}
type arraa: [int]
type tupka: (int, int, text)
type choice: int | real | text
type funka: fun(int,int)->text

f(x:choice)->user = {...}
m:arraa = [1,2,3]

x:funka = ...

x(1,2).print()

tmteam avatar Jan 23 '22 12:01 tmteam