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 module implements UFCS for Python. | |
[Uniform Function Call Syntax (UFCS)](https://tour.dlang.org/tour/en/gems/uniform-function-call-syntax-ufcs) | |
UFCS is a key feature of D and enables code reusability and scalability through well-defined encapsulation. | |
UFCS allows any call to a free function fun(a) to be written as a member function call a.fun(). | |
If a.fun() is seen by the compiler and the type doesn't have a member function called fun(), |
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
// React doesn't use es2015 "export default react" syntax in their NPM dist. | |
// Instead they set a "default" key in their export object. | |
/** node_modules/react/cjs/react.development.js | |
... | |
var React$2 = Object.freeze({ | |
default: React | |
}); |