Based on Paul and Arya's design here, for a codebase editor for Unison.
Unison functions are content addressed - a function's identity (Id
) depends only on its content.
The 'content' here excludes cosmetic stuff that doesn't affect how the function runs, like names, comments and layout.
When one function has a call to another, it refers to it by Id
1.
When I want to talk about a function, I refer to it using a Name
. My name for the function might be different from yours though!