$ module load swift/5.0.1
We can see swift is now in the PATH
$ echo $PATH
/usr/local/swift/5.0.1/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
After I unload it, it is not.
$ module unload swift/5.0.1
$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/usr/local/pintos/bin