![]() | Library Documentation | Structures | Signatures | Identifiers | Packages | About |
EQ_HASH_DYN (pkg github.com/diku-dk/sml-pickle)Dynamic types with support for equality and hashing.
structure EqHashDyn : EQ_HASH_DYN (pkg github.com/diku-dk/sml-pickle)
signature EQ_HASH_DYN =
sig
type dyn
val new : ('a -> int -> word) -> ('a * 'a -> bool) -> ('a -> dyn) * (dyn -> 'a)
val eq : dyn * dyn -> bool
val hash : int -> dyn -> word
end
[1] Martin Elsman. Type-Specialized Serialization with Sharing. In
Sixth Symposium on Trends in Functional Programming (TFP
‘05). Tallinn, Estonia. September 2005.