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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T21:30:31+00:00 2026-05-11T21:30:31+00:00

While migrating some code to the latest version of F#, included in VS2010 b1,

  • 0

While migrating some code to the latest version of F#, included in VS2010 b1, I’ve encountered an issue and I’d like to know if there’s a workaround available and – if not – why was the behavior of the F# compiler modified not to support the scenario.


type Foo(a) =
    [<OverloadID("CurriedAbc")>]
    member public x.Abc (p:(oneType * anotherType) seq) otherParm = method impl...

    //this overload exists for better compatibility with other languages
    [<OverloadID("TupledAbc")>]
    member public x.Abc (p:Dictionary<oneType, anotherType>, otherParm) =
        x.Abc(p |> Seq.map(fun kvp -> (kvp.Key, kvp.Value))) otherParm

This code produces the following compile-time error:

error FS0191: One or more of the overloads of this method has curried arguments. Consider redesigning these members to take arguments in tupled form

Please mind that this used to work flawlessly on F# 1.9.6.2 (Sept. CTP)

  • 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-05-11T21:30:32+00:00Added an answer on May 11, 2026 at 9:30 pm

    The reason for the change is in the detailed release notes:

    Optimizations for Curried Methods

    A curried member looks like this:

    type C() =

    static member Sum a b = a + b    
    

    In previous implementations of F#
    curried members were compiled less
    efficiently than non-curried members.
    This has now been changed. However,
    there are now some small restrictions
    on the definition of curried members:

    • curried members may not be overloaded
    • some definitions of curried members may need to be adjusted to add the correct number of parameters to the definition

    Since your overloading can be resolved only on the first parameter, you should be able to work round it by changing the curried version to:

        [<OverloadID("CurriedAbc")>]
        member public x.Abc (p:(oneType * anotherType) seq)
           = fun otherParm -> method impl...
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 156k
  • Answers 156k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer $('li:has(ul) > a').click(...) Your problem is that $('li:has(ul) a') means… May 12, 2026 at 10:51 am
  • Editorial Team
    Editorial Team added an answer By setting the id property of the MXML component you… May 12, 2026 at 10:51 am
  • Editorial Team
    Editorial Team added an answer Are you talking about “Operation Aborted”? That's the error I… May 12, 2026 at 10:51 am

Related Questions

ORIGINAL Q: I'm wondering if anyone has had experience of migrating a large Cobol/PL1
Within the last year I have become addicted to subversion. I am an only
I have a legacy web application php4/mysql4 (MyISAM, db contains some cms, some user
In a typical enterprise scenario with in-house development, you might have dev, staging, and

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.