diff options
Diffstat (limited to 'tcllib/modules/lambda/pkgIndex.tcl')
-rw-r--r-- | tcllib/modules/lambda/pkgIndex.tcl | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tcllib/modules/lambda/pkgIndex.tcl b/tcllib/modules/lambda/pkgIndex.tcl new file mode 100644 index 0000000..898e431 --- /dev/null +++ b/tcllib/modules/lambda/pkgIndex.tcl @@ -0,0 +1,8 @@ +#checker -scope global exclude warnUndefinedVar +# var in question is 'dir'. +if {![package vsatisfies [package provide Tcl] 8.5]} { + # PRAGMA: returnok + return +} +# Utility wrapper around ::apply for easier writing. +package ifneeded lambda 1 [list source [file join $dir lambda.tcl]] |