|
from std.containers let AssociativeCollection
|
|
from std.system.current-process let stderr
|
|
|
|
let run`+entrypoint` does:
|
|
empty-haystack = { : }
|
|
haystack = { 'needle' : 42 }
|
|
print-needle haystack
|
|
print-needle empty-haystack
|
|
|
|
let print-needle`AssociativeCollection`
|
|
haystack`AssociativeCollection, return : 1`
|
|
does:
|
|
with? needle = haystack.['needle'] do stderr "needle: {needle}"
|