Closed TomasMikula closed 2 years ago
Currently, we use sourcecode to obtain the source file and line number.
We would benefit from some Libretto-specific functionality, e.g. names of variables in λ-expressions (λ { a => ... }, λ { case (a |*| b) => ... }).
λ { a => ... }
λ { case (a |*| b) => ... }
For the start, let's recreate the functionality that we get from sourcecode, i.e. file name and line number. Then we can take it further.
sourcecode
Currently, we use sourcecode to obtain the source file and line number.
We would benefit from some Libretto-specific functionality, e.g. names of variables in λ-expressions (
λ { a => ... }
,λ { case (a |*| b) => ... }
).For the start, let's recreate the functionality that we get from
sourcecode
, i.e. file name and line number. Then we can take it further.