-
Notifications
You must be signed in to change notification settings - Fork 158
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #765 from DedSec256/dedsec256-fix-for-operators
Fix arguments naming and escape operator name in usageHtml
- Loading branch information
Showing
5 changed files
with
47 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
module FsLib.OperatorsWithFsi | ||
|
||
let (<&>) x y = x > y | ||
let (?<?) x y = x > y | ||
let (<?) x = x | ||
let (<?>) x = x |
13 changes: 13 additions & 0 deletions
13
tests/FSharp.ApiDocs.Tests/files/FsLib1/OperatorsWithFsi.fsi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
module FsLib.OperatorsWithFsi | ||
|
||
/// <summary>The binary operator 1</summary> | ||
val (<&>): 'T -> 'T -> bool when 'T: comparison | ||
|
||
/// <summary>The binary operator 2</summary> | ||
val (?<?): x: 'T -> y: 'T -> bool when 'T: comparison | ||
|
||
/// <summary>The unary operator 1</summary> | ||
val (<?): 'T -> 'T | ||
|
||
/// <summary>The unary operator 2</summary> | ||
val (<?>): x: 'T -> 'T |