Poly/ML is a full implementation of Standard ML available as open-source. By default, the SlackBuild will create a package with support for X11.