Suggest you take a look at https://raku.org for a strongly (but gradual) typed scripting language.
I’m taking the GP seriously instead of dismissing it. Raku looks like more fun than nushell tbh.
print 42 + 99; # 141
print &print.file ; # ...src/core.c/io_operators.rakumod
print &infix:<+>.file; # ...src/core.c/Numeric.rakumod
print ?CORE::<&print>; # True
I barely understood these four example lines. ~ > time perl -e ''
perl -e '' 0.01s user 0.01s system 10% cpu 0.179 total
~ > time raku -e ''
raku -e '' 0.09s user 0.04s system 53% cpu 0.232 total
~ >