I am curious if there’s a way to see the evaluation of a type family in the Haskell Language Server. For example, I have some type (details not important, just included for the sake of a concrete example)
type ThreeHalfLeft =
Tensor SU2 (Tensor SU2 SpinHalf SpinHalf) SpinHalf
Thanks both! This does indeed work, which is really cool!
That said, I think the mouse-over would be a really nice feature - instead of having to type out a comment and click evaluate, I could just hover over my type and just see what it reduces to. In general I find that mouse-over makes for a much more impressive demo of Haskell’s type inference than having to enter ghci.