Closed sylvanc closed 7 years ago
Looks good on the null reduction.
Could this be extended to handle #125 without directive workarounds? Trying this pull request we're still outputting in the <fun:addTwo@1>
form rather than the way functions get printed on fsi.
@cgravill Not currently, as we are doing sprintf "%A"
for anything that doesn't have a custom display printer. We would have to check for a function type and print the identity as well as the type.
Unless you have some other approach?
Nothing specific, just that since you're capturing the fsi print output I hoped we could the form with more user friendly printing of functions.
Attach a string builder as System.Console.Out and send its contents to the notebook on Display and when execution completes.
Do not send a "pyout" message when the result of a cell is of type unit, in order to avoid printing "".