The compiled code will not display uncaught exceptions but the execution
stops.

- Gergely

On Wednesday, 15 June 2016, Kostirya <[email protected]> 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.
>
_______________________________________________
polyml mailing list
[email protected]
http://lists.inf.ed.ac.uk/mailman/listinfo/polyml

Reply via email to