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

View of /sml/trunk/src/compiler/PervEnv/Basis/general.sml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 90 - (download) (annotate)
Tue May 12 21:54:55 1998 UTC (22 years, 3 months ago)
Original Path: sml/branches/FLINT/src/compiler/PervEnv/Basis/general.sml
File size: 933 byte(s)
This commit was manufactured by cvs2svn to create branch 'FLINT'.
(* 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: general.sml,v $
 * Revision 1.1.1.1  1998/04/08 18:40:04  george
 * Version 110.5
 *
 *)

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