|
|
|
|
|
by julesnp
881 days ago
|
|
I think the way F# implemented it is pretty good: if you want to use a keyword or whitespace in a variable or function name, it has to be enclosed in double backticks. e.g: [<Property>]
let ``Reverse of reverse of a list is the original list`` (xs:list<int>) =
List.rev(List.rev xs) = xs
|
|
[1] https://fsharp.org/specs/language-spec/4.1/FSharpSpec-4.1-la...