I suggest we ...

Add Checked.int8/uint8 and Nullable.int8/uint8/single/double

This is the tracking issue for https://github.com/Microsoft/visualfsharp/pull/19

F# defines "int8" and "uint8" as synonyms for "sbyte" and "byte", both as types and operators. While reviewing the behaviour of "open Checked" (which brings new versions of operators into scope) we noticed that new versions of the "int8" and "uint8" operators are not defined in the "Checked" module. This is inconsistent, though a simple workaround is to use the checked "sbyte" and "byte" operators instead.

We also noticed that "Nullable.int8" and "Nullable.uint8", "Nullable.single" and "Nullable.double" are missing.

The proposal is to add these.

1 vote
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Don Syme shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    0 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      Signed in as (Sign out)
      Submitting...

      F# Language

      Feedback and Knowledge Base