Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9319617
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 19, 20262026-06-19T03:25:47+00:00 2026-06-19T03:25:47+00:00

How can I set priority for custom operators? (if that is possible) like *

  • 0

How can I set priority for custom operators? (if that is possible)

like * or / has higher priority then + or - I want to add such rule to my operators.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-19T03:25:48+00:00Added an answer on June 19, 2026 at 3:25 am

    Precedence is decided by the table at the bottom of this page: http://msdn.microsoft.com/en-us/library/dd233228.aspx

    In particular the order is :

    |,’,’,||,&,&&,< op, >op, =, |op, &op,&&& , |||, ^^^, ~~~, <<<, >>>,^ op,::,- op, +op,
    (binary),* op, /op, %op,** op,prefix operators (+op, -op, %, %%, &, &&, !op, ~op)

    From the same page:

    F# supports custom operator overloading. This means that you can
    define your own operators. In the previous table, op can be any valid
    (possibly empty) sequence of operator characters, either built-in or
    user-defined. Thus, you can use this table to determine what sequence
    of characters to use for a custom operator to achieve the desired
    level of precedence. Leading . characters are ignored when the
    compiler determines precedence.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

With the stl priority_queue you can set the underlying container, such as a vector
If I use SCHED_FIFO and set the process priority to 1 how can I
In Photoshop you can set a layer's blending mode to be Hue. If that
I understand that we can set the various style attributes from code behind using
How can I set the Priority\Pool of an Hadoop Streaming job? It's probably a
Since Jelly Bean it is possible to set a priority to notifications. This way
Can open filehandles in linux have an io scheduling priority set on them? ionice
this is how my jobrunner looks. How can I set low priority while triggering
I want to remove all items from cache except those set with a priority
How can i set the priority in NSOperationQueue to not execute the next operation

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.