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/branches/arith64/system/smlnj/init/use-hook.sml
ViewVC logotype

View of /sml/branches/arith64/system/smlnj/init/use-hook.sml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4874 - (download) (annotate)
Fri Oct 5 14:33:11 2018 UTC (10 months, 1 week ago) by jhr
File size: 299 byte(s)
  merge in edits from trunk
(* use-hook.sml
 *
 * COPYRIGHT (c) 2018 The Fellowship of SML/NJ (http://www.smlnj.org)
 * All rights reserved.
 *)

structure UseHook =
  struct
    local
      fun dummy (s: PrimTypes.string) = ()
    in

    val useHook = PrimTypes.ref dummy

    fun use s = InlineT.! useHook s

    end

  end

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