Skip to content

Seq.sortByDescending throws FS0192 #85

@algomentor

Description

@algomentor

Description

Calling Seq.sortByDescending from a Jupyter code cell throws FS0192.

Repro steps

  1. Create a code cell
  2. Enter [1 .. 10] |> Seq.sortByDescending(fun i -> i) and hit CTRL+Enter
  3. Observe the output below the cell

Expected behavior

The expected output is:

[10; 9; 8; 7; 6; 5; 4; 3; 2; 1]

Actual behavior

The actual output is:

error FS0192: internal error: convMethodRef: could not bind to method

Known workarounds

Using List.sortByDescending works fine.

Related information

  • Operating system
    • OS X El Captain
    • RHEL Server 7.2
    • Windows 10
  • Branch
    • IfSharp.v3.0.0-alpha2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions