Skip to content

Latest commit

 

History

History
24 lines (22 loc) · 345 Bytes

merge.md

File metadata and controls

24 lines (22 loc) · 345 Bytes
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)