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/FLINT/src/compiler/PervEnv/Basis/general.sml
ViewVC logotype

View of /sml/branches/FLINT/src/compiler/PervEnv/Basis/general.sml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 245 - (download) (annotate)
Sat Apr 17 18:47:12 1999 UTC (20 years, 5 months ago) by monnier
File size: 848 byte(s)
version 110.16
(* general.sml
 *
 * COPYRIGHT (c) 1995 AT&T Bell Laboratories.
 *
 *)

structure General : PRE_GENERAL =
  struct

    type unit = PrimTypes.unit
    type exn = PrimTypes.exn

    exception Bind = Core.Bind
    exception Match = Core.Match
    exception Subscript = Core.Subscript
    exception Size = Core.Size
    exception Overflow = Assembly.Overflow
    exception Chr = InlineT.Char.Chr
    exception Div = Assembly.Div
    exception Domain
    exception Span

    exception Fail of string

    datatype order = LESS | EQUAL | GREATER

    val ! = InlineT.!
    val op := = InlineT.:=

(*
    fun f o g = fn x => f(g x)
    fun a before b = a
*)
    val op o : ('b -> 'c) * ('a -> 'b) -> ('a -> 'c) = InlineT.compose
    val op before : ('a * unit) -> 'a = InlineT.before
    fun ignore _ = ()

  end (* structure General *)

(*
 * $Log$
 *)

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