mirror of
https://github.com/github/semantic.git
synced 2024-12-24 23:42:31 +03:00
Document the operator.
This commit is contained in:
parent
7dc2c9e1a2
commit
c48a141418
@ -23,6 +23,7 @@ let languagesByFileExtension: [String:TSLanguage] = [
|
||||
"c": ts_language_c(),
|
||||
]
|
||||
|
||||
/// Allow predicates to occur in pattern matching.
|
||||
func ~= <A> (left: A -> Bool, right: A) -> Bool {
|
||||
return left(right)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user