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 63375
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T18:37:22+00:00 2026-05-10T18:37:22+00:00

Which of theese two alternatives do you find yourself using most often, and which

  • 0

Which of theese two alternatives do you find yourself using most often, and which is more ‘idiomatic’?

  1. f arg (obj.DoStuff())
  2. f arg <| obj.DoStuff()
  • 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. 2026-05-10T18:37:23+00:00Added an answer on May 10, 2026 at 6:37 pm

    Overall, I don’t know that one or the other is more idiomatic.

    Personally, the only time I use <| is with ‘raise’:

    raise <| new FooException('blah') 

    Apart from that, I always use parens. Note that since most F# code uses curried functions, this does not typically imply any ‘extra’ parens:

    f arg (g x y) 

    It’s when you get into non-curried functions and constructors and whatnot that it starts getting less pretty:

    f arg (g(x,y)) 

    We will probably at least consider changing the F# languages rules so that high-precedence applications bind even more tightly; right now

    f g() 

    parses like

    f g () 

    but a lot of people would like it to parse as

    f (g()) 

    (the motivating case in the original question). If you have a strong opinion about this, leave a comment on this response.

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

Sidebar

Related Questions

Which one of these two method invocations is considered most pythonic? some_method(that_has, very_many, aurguments=None,
Which of these two platforms/ecosystems are better for writing web applications/websites? I am not
Which of these two statements is faster/better practice? myList.Where(x => { bool itemOne= x.ItemOne
I was wondering which of these two scenario's works best for swapping between 2
What are the main diffrences between these two implementations of LDAP protocol? Which is
I have a view that contains two NSTextFieldCell s. The size at which these
I have a code base, in which for Matrix class, these two definitions are
I am trying to compare two variables in which are usually strings. These variables
Which of these queries is more efficient, and would a modern DBMS (like SQL
I should simulate a p2p protocol (using Java) in which each node initially has

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.