interactive icon indicating copy to clipboard operation
interactive copied to clipboard

F# units of measure do not display

Open bmitc opened this issue 1 year ago • 2 comments

Describe the bug

F# units of measure are not displaying as expected. Only the numeric value, sans the unit of measure, are being displayed. See the screenshot below.

Please complete the following:

Which version of .NET Interactive are you using? (In a notebook, run the #!about magic command. ):

Version: 1.0.522904+cdfa48b2ea1a27dfe0f545c42a34fd3ec7119074 Library version: 1.0.0-beta.24229.4+cdfa48b2ea1a27dfe0f545c42a34fd3ec7119074 Build date: 2024-05-12T06:09:21.5898155Z

  • OS
    • [x] Windows 11
    • [ ] Windows 10
    • [ ] macOS
    • [ ] Linux (Please specify distro)
    • [ ] iOS
    • [ ] Android
  • Browser
    • [ ] Chrome
    • [ ] Edge
    • [ ] Firefox
    • [ ] Safari
  • Frontend
    • [ ] Jupyter Notebook
    • [ ] Jupyter Lab
    • [ ] nteract
    • [x] Visual Studio Code
    • [ ] Visual Studio Code Insiders
    • [ ] Visual Studio
    • [ ] Other (please specify)

Screenshots

image

The expected value printout would be 2.0<cm> or 2<cm> and not just 2.

bmitc avatar Sep 02 '24 15:09 bmitc

I would be happy to take a look at fixing this if I could get a few pointers.

bmitc avatar Sep 02 '24 15:09 bmitc

I'm somewhat "stumbling backward" into this space in order to shore up support for polyglot notebooks in a library I'm maintaining. So I'm scouting out open F# issues and spotted this. My interest is in getting FsAutoComplete updated and doing a few other thigns to bring .NET interactive up to par for F#. This seems like it would be in the neighborhood of the neighborhood I'll be investigating. If Once I get my bearings I'll see about looping back to you on this. If you're still game maybe we can get someone to crib us both through the basics of this project to find our way.

https://fsprojects.github.io/Furnace/

houstonhaynes avatar Mar 12 '25 19:03 houstonhaynes