I strongly believe that - although my home institution no longer teaches an ML as first language - this is the best way to teach CS to undergraduates. An ML has all the fundamental ideas you will need to also teach about this discipline, and (so long as you choose e.g. SML/NJ or similar, not Rust or something) it won't be a language the average teenager you recruited might already know, so the week 1 exercise showing they've understood what they're doing is actually work for all of your students, averting a scenario where some of them drift away only to realise at exam time that they haven't learned a thing.
Standard ML was my go-to language for many years.
I always found SML/NJ complicated both to compile and use, compared to...
...well, pretty much every other compiler: Moscow ML, Poly/ML, MLton, MLKit.
That said, it’s the OG so I give it some slack. I did enjoy MLton though, but it’s easier to do when the instructor wrote it.
It would have been fun if they had renamed to JSON instead of Exxon.