Skip to content

F# -> and <- in Visual Studio - is there a trick? #220

@danieljsummers

Description

@danieljsummers

I'm using 1.200 on Windows 10 using Visual Studio Community 2015. The font is great - I love the way it cleans up the display!

Nearly all of the ligatures are rendered properly. In the attached screenshot, you'll see <| rendered as the left-pointing triangle. F# uses -> to indicate the beginning of a function, or to delineate types in a signature; it uses <- to represent variable assignment (= is always a boolean operator unless you're explicitly initializing a variable). Neither of these arrows are being converted to their corresponding ligatures. I've tried some of the other arrows ( <== , <=< , etc.) and they work; it's just these two that don't.

Is there a setting I'm missing, or have I stumbled on a bug?

example

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions