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

SCM Repository

[smlnj] View of /sml/trunk/src/MLRISC/visualization/allDisplays.sml
ViewVC logotype

View of /sml/trunk/src/MLRISC/visualization/allDisplays.sml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 245 - (download) (annotate)
Sat Apr 17 18:47:12 1999 UTC (21 years, 6 months ago) by monnier
Original Path: sml/branches/SMLNJ/src/MLRISC/visualization/allDisplays.sml
File size: 685 byte(s)
version 110.16
functor AllDisplaysFn (val viewer : string ref) : 
sig
   include GRAPH_DISPLAY
   val viewer : string ref
end =
struct

   val viewer = viewer

   fun visualize print =
       (case !viewer of
          "daVinci" => daVinci.visualize print
        | "vcg"     => VCG.visualize print
        | _         => daVinci.visualize print
       )

   fun program() =
       (case !viewer of
          "daVinci" => daVinci.program()
        | "vcg"     => VCG.program()
        | _         => daVinci.program()
       )

   fun suffix() =
       (case !viewer of
          "daVinci" => daVinci.suffix()
        | "vcg"     => VCG.suffix()
        | _         => daVinci.suffix()
       )

end

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