[MLton] towards type checking let polymorphism

"Baojian Hua" <[email protected]> Wed, 20 May 2015 18:02:23 +0800 (GMT+08:00)
Newsgroups gmane.comp.lang.ml.mlton.devel,gmane.comp.lang.ml.mlton.user
Message-ID <[email protected]>
hi, 

I'm reading Pierce's text "Types and Programming language". On page
334 of that book, there is an example program of nested let binding
and says that the type checking would be very slow.
 
And I'm curious about the typing checking time, so I tried this program
both in SML/NJ and MLton. But I'm a little surprised to see that the
checking time of the NJ compiler is indeed very slow (I kill the 
process after running several minutes); however, MLton
will check that program very quickly. I'm curious about how this 
different behavior happens? Is there any special trick that MLton uses
to handle this case?

Thanks!

-Bob H.

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y

_______________________________________________
MLton-devel mailing list
[email protected]; [email protected]
https://lists.sourceforge.net/lists/listinfo/mlton-devel