The compiled code will not display uncaught exceptions but the execution stops.
- Gergely
On Wednesday, 15 June 2016, Kostirya <kostirya at gmail.com> wrote:
Hello. Why when executed file, exception is not printed? Is it OK?
cat foo.sml
exception Ex fun main () = ( print "Start\n"; raise Ex; print "The End\n" )
( cat foo.sml ; echo 'val _ = main ()' ) | poly
Poly/ML 5.6 Release Start Exception- Ex raised
polyc foo.sml && ./a.out
Start
Best, Nick.