F# Language

This User Voice was for suggestions about the future evolution of the F# Language and Core Library.

I suggest we ...

You've used all your votes and won't be able to post a new idea, but you can still search and comment on existing ideas.

There are two ways to get more votes:

  • When an admin closes an idea you've voted on, you'll get your votes back from that idea.
  • You can remove your votes from an open idea you support.
  • To see ideas you have already voted on, select the "My feedback" filter and select "My open ideas".
(thinking…)

Enter your idea and we'll search to see if someone has already suggested it.

If a similar idea already exists, you can support and comment on it.

If it doesn't exist, you can post your idea so others can support it.

Enter your idea and we'll search to see if someone has already suggested it.

  1. 1 vote
    Vote
    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      You have left! (?) (thinking…)
    • Support .NET Core and CoreCLR

      .NET Core is the new cloud runtime model for the CLR and used in ASP.NET vNext.

      377 votes
      Vote
      Sign in
      Check!
      (thinking…)
      Reset
      or sign in with
      • facebook
      • google
        Password icon
        I agree to the terms of service
        Signed in as (Sign out)
        You have left! (?) (thinking…)

        Strictly speaking this issue is not meant for https://fslang.uservoice.com, since it is about targeting a particular platform with the tooling, rather than the F# language or core library design itself.

        However, I’m leaving it open for now since it’s getting so many votes. We may close it sometime soon to release the votes.

        In any case, this work is planned by the Microsoft visualfsharp team and other contributors. Please contribute to the work at the http://github.com/Microsoft/visualfsharp repository and follow that repository for more details and updates.

        Relevant issues: https://github.com/Microsoft/visualfsharp/issues/387 and https://github.com/Microsoft/visualfsharp/pull/499

        Don Syme, F# Language and Core Library Evolution

      • Add NameOf operator to follow C#/VB update

        The Roslyn compiler currently (as of 2014-05-08) has a new NameOf operator listed as "Planned" for both C# and VB:
        (https://roslyn.codeplex.com/wikipage?title=Language%20Feature%20Status&referringTitle=Documentation)

        Pending its arrival there, it would be awesome to get something similar in F# as well.

        127 votes
        Vote
        Sign in
        Check!
        (thinking…)
        Reset
        or sign in with
        • facebook
        • google
          Password icon
          I agree to the terms of service
          Signed in as (Sign out)
          You have left! (?) (thinking…)
        • Additional intrinsics for the NativePtr module

          When interoperating with native code, it would be handy if the NativePtr module included some additional "intrinsic" functions for taking advantage of low-level IL instructions; specifically, I'd like to be able to use 'cpblk', 'initblk', 'initobj', and 'copyobj'.

          It would also be nice to have an easy way of checking for null pointer values.

          Example implementation of these functions:

          [<RequireQualifiedAccess>]
          [<CompilationRepresentation(CompilationRepresentationFlags.ModuleSuffix)>]
          module NativePtr =
          [<GeneralizableValue>]
          [<NoDynamicInvocation>]
          [<CompiledName("Zero")>]
          let inline zero<'T when 'T : unmanaged> : nativeptr<'T> =
          (# "ldnull" : nativeptr<'T> #)

          [<NoDynamicInvocation>]
          [<CompiledName("IsNull")>]
          let inline isNull<'T when 'T : unmanaged> (ptr : nativeptr<'T>) =
          (# "ceq" zero<'T> ptr :…

          10 votes
          Vote
          Sign in
          Check!
          (thinking…)
          Reset
          or sign in with
          • facebook
          • google
            Password icon
            I agree to the terms of service
            Signed in as (Sign out)
            You have left! (?) (thinking…)

          F# Language

          Feedback and Knowledge Base