Thanks to Norio Nomura for inspiring this solution for grabbing tcsh-based stdlib declarations:
(echo "import Swift"; echo ":print_module Swift") | xcrun swift -deprecated-integrated-repl | open -f
Some of us dinosaurs stick with familiar shells and echo doesn’t handle “\n” well. Posting this in the hope that it can help someone else too.
Comments are closed.