Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
19
Task/Stack-traces/Lang/stack-traces.lang
Normal file
19
Task/Stack-traces/Lang/stack-traces.lang
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
# fn.getStackTrace() returns a text-based stack trace
|
||||
fp.printStackTrace = () -> fn.println(fn.getStackTrace())
|
||||
|
||||
# Example
|
||||
fp.f1 = () -> {
|
||||
fn.println(F1:)
|
||||
fp.printStackTrace()
|
||||
}
|
||||
fp.f2 = () -> {
|
||||
fn.println(F2:)
|
||||
fp.printStackTrace()
|
||||
fp.f1()
|
||||
}
|
||||
fp.f2()
|
||||
|
||||
fn.combA0(fp.f2)
|
||||
|
||||
# Partially called combinator functions' names are represented as "<comb...-func(...)>"
|
||||
fn.combA(fn.combC(fn.combAE(), x), fp.f2)
|
||||
Loading…
Add table
Add a link
Reference in a new issue