(* * The hook module for the dynamically-linked CMB "slave" stub. * * (C) 1999 Lucent Technologies, Bell Laboratories * * Author: Matthias Blume (blume@kurims.kyoto-u.ac.jp) *) structure CMBSlaveHook = struct local type slave = (string * string) -> (GroupGraph.group * (DependencyGraph.sbnode -> bool) * PathConfig.mode) option val m = ref (StringMap.empty: slave StringMap.map) in fun init arch f = m := StringMap.insert (!m, arch, f) fun slave arch s = case StringMap.find (!m, arch) of NONE => NONE | SOME f => f s end end
Click to toggle
does not end with </html> tag
does not end with </body> tag
The output has ended thus: ve arch s = case StringMap.find (!m, arch) of NONE => NONE | SOME f => f s end end