home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Source Code / C / Applications / Moscow ML 1.42 / lib / SML90.sig < prev    next >
Encoding:
Text File  |  1997-08-18  |  953 b   |  45 lines  |  [TEXT/Moml]

  1. (* Old -- compatibility with the initial basis of the 1990 Definition *)
  2.  
  3. (* Math *)
  4.  
  5. val sqrt : real -> real
  6. val sin : real -> real
  7. val cos : real -> real
  8. val arctan : real -> real
  9. val exp : real -> real
  10. val ln  : real -> real
  11.  
  12. (* Strings *)
  13.  
  14. val chr : int -> string
  15. val ord : string -> int
  16.  
  17. val explode : string -> string list
  18. val implode : string list -> string
  19.  
  20. exception Abs  
  21.       and Diff 
  22.       and Exp  
  23.       and Floor
  24.       and Neg  
  25.       and Prod 
  26.       and Sum  
  27.       and Mod  
  28.       and Quot;
  29.  
  30. (* Input/output *)
  31.  
  32. type instream and outstream;
  33.  
  34. val std_in        : instream;
  35. val open_in       : string -> instream;
  36. val input         : instream * int -> string;
  37. val lookahead     : instream -> string;
  38. val close_in      : instream -> unit;
  39. val end_of_stream : instream -> bool;
  40.  
  41. val std_out       : outstream;
  42. val open_out      : string -> outstream;
  43. val output        : outstream * string -> unit;
  44. val close_out     : outstream -> unit;
  45.