Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
1
Task/Introspection/E/introspection-1.e
Normal file
1
Task/Introspection/E/introspection-1.e
Normal file
|
|
@ -0,0 +1 @@
|
|||
def version := interp.getProps()["e.version"]
|
||||
5
Task/Introspection/E/introspection-2.e
Normal file
5
Task/Introspection/E/introspection-2.e
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
escape fail {
|
||||
def &x := meta.getState().fetch("&bloop", fn { fail("no bloop") })
|
||||
if (!x.__respondsTo("abs", 0)) { fail("no abs") }
|
||||
x.abs()
|
||||
}
|
||||
5
Task/Introspection/E/introspection-3.e
Normal file
5
Task/Introspection/E/introspection-3.e
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
var sum := 0
|
||||
for &x in interp.getTopScope() { sum += try { x :int } catch _ { 0 } }
|
||||
sum
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue