function sum(a) {
return a.x + 20;
}
sum({x: 10, y: 20});
sum({x: 10, y: 20});
sum; //:: fn(a: {x: number, y: number}) -> number
[
{
"name": "sum",
"addr": "/sum/",
"kind": "f",
"type": "number function(sum.!0)",
"lineno": 1
}
]
sum /sum/;" f lineno:1 type:number function(sum.!0)