Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] Annotation of /sml/trunk/src/system/smlnj/init/exn-info-hook.sml
ViewVC logotype

Annotation of /sml/trunk/src/system/smlnj/init/exn-info-hook.sml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 651 - (view) (download)

1 : blume 573 (* (C) 1999 Lucent Technologies, Bell Laboratories *)
2 :    
3 :     structure ExnInfoHook = struct
4 :     local
5 :     fun dummy (e: PrimTypes.exn) = "exception (?)"
6 :     in
7 :     val exnNameHook = PrimTypes.ref dummy
8 :     val exnMessageHook = PrimTypes.ref dummy
9 :     fun exnName e = InlineT.! exnNameHook e
10 :     fun exnMessage e = InlineT.! exnMessageHook e
11 :     end
12 :     end

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0