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/Init/print-hook.sml
ViewVC logotype

Annotation of /sml/trunk/src/system/Init/print-hook.sml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 417 - (view) (download)
Original Path: sml/branches/SMLNJ/src/system/Init/print-hook.sml

1 : monnier 416 (* (C) 1999 Lucent Technologies, Bell Laboratories *)
2 :    
3 :     structure PrintHook = struct
4 :     local
5 :     (* to have something to initialize prHook with... *)
6 :     fun discard (s: PrimTypes.string) = ()
7 :     in
8 :     val prHook = ref discard (* very crude *)
9 :     fun print s = InlineT.! prHook s
10 :     end
11 :     end

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