search for: __init__r

Displaying 1 result from an estimated 1 matches for "__init__r".

Did you mean: __init__
2014 Apr 28
0
RFC: API design of package "modules"
...detailed in [2], modules allow/impose a hierarchical organisation. That way, `import('foo')` might load code from a file called `foo.r` or from a file called `foo/__init__.r` (reminiscent of Python?s module mechanism) and `import('foo/bar')` would load a file `foo/bar.r` or `foo/bar/__init__r.` [3]. `import` also allows selectively importing only some functions, so that a user might write `import('foo', c('f', 'g'))` to only import the functions `f` and `g`. However, at the moment modules don?t allow the equivalent of Python?s `from foo import bar` for nested m...