Description
Calling Seq.sortByDescending from a Jupyter code cell throws FS0192.
Repro steps
- Create a code cell
- Enter
[1 .. 10] |> Seq.sortByDescending(fun i -> i) and hit CTRL+Enter - 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
Description
Calling
Seq.sortByDescendingfrom a Jupyter code cell throws FS0192.Repro steps
[1 .. 10] |> Seq.sortByDescending(fun i -> i)and hitCTRL+EnterExpected 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 methodKnown workarounds
Using
List.sortByDescendingworks fine.Related information