Type-directed completion of partial expressions | Synapse