home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Celestin Apprentice 5
/
Apprentice-Release5.iso
/
Source Code
/
C
/
Applications
/
Moscow ML 1.31
/
source code
/
mosml
/
src
/
compiler
/
Infixst.sig
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1996-07-03
|
376 b
|
20 lines
|
[
TEXT/R*ch
]
local
open Fnlib Mixture Globals Location Asynt;
in
exception WrongInfix and MixedAssociativity;
type 'Obj InfixStackStr = {
applyId : IdInfo -> 'Obj -> 'Obj,
applyObj : 'Obj -> 'Obj -> 'Obj,
asId : 'Obj -> IdInfo option,
pair : 'Obj -> 'Obj -> 'Obj
};
val resolveInfix :
'Obj InfixStackStr -> (string -> InfixStatus) ->
'Obj list -> 'Obj
;
end;