Custom Swift Pattern Matching Operators

Ole Begemann: We know that greaterThan(0) must produce a function that takes a value and returns Bool. So in turn, greaterThan must be a function that takes another value and returns the first function. […] Swift provides a special syntax for the definition of curried functions that mimics how they are called. […] It’s impossible … Continue reading Custom Swift Pattern Matching Operators