Prod
Module
signature PROD
structure Prod
:> PROD
This module defines the concrete type of grammar productions.
type prod = Sym.sym * Str.str
val compare : prod Sort.total_ordering
val equal : prod * prod -> bool
type prod = Sym.sym * Str.str
compare
Set
.comparePair
(Sym
.compare
,
Str
.compare
)
.
equal(tran1, tran2)
tran1
and tran2
are equal.
Forlan Version 4.15
Copyright © 2022 Alley Stoughton