MLton 20051202

WikiMacros

Home Index

Here are the wiki macros available in addition to the usual MoinMoin ones.

- `[[Cite(anchor, text)]]` displays text as a link to the corresponding reference on the References page.
  Examples: a paper

- `[[DownloadSVN(pathToFile)]]` displays a download link to the ViewCVS page for `pathToFile`.
  Examples: Makefile , main.fun

- `[[IncludeSVN(pathToFile, type)]]` textually includes the latest contents of `pathToFile`, formatted with Enscript as `type` (as in the `!#syntax` processor). If `type` is omitted, use the extension of `pathToFile`.
  Example:

      (* Copyright (C) 1999-2005 Henry Cejtin, Matthew Fluet, Suresh
       *    Jagannathan, and Stephen Weeks.
       * Copyright (C) 1997-2000 NEC Research Institute.
       *
       * MLton is released under a BSD-style license.
       * See the file MLton-LICENSE for details.
       *)

      structure Main = Main ()

      val _ =
         let
            open Trace.Immediate
         in
            debug := Out Out.error
            ; flagged ()
            ; on []
         end

- `[[ViewSVN(pathToFile)]]` displays a link to the ViewCVS page for `pathToFile`.
  Examples: Makefile , main.fun

- `[[ViewSVNSDir(pathToDir)]]` displays a link to the ViewCVS page for `pathToDir`.
  Examples: main

Last edited on 2005-08-10 12:43:15 by MatthewFluet.