ML for the Working Programmer is also an excellent reference. It demonstrates the construction of a theorem prover. As a matter of fact, Isabelle was built with SML.
There's also a famously concise intro to SML (in 22 pages!) by Mads Tofte:
https://condor.depaul.edu/dmumaugh/readings/handouts/CSC447/...