add 'env' parameter to mapper in gap_map.sml
This commit is contained in:
@@ -40,7 +40,8 @@ end
|
|||||||
signature MAP =
|
signature MAP =
|
||||||
sig
|
sig
|
||||||
structure Pair: GAP_MAP_PAIR
|
structure Pair: GAP_MAP_PAIR
|
||||||
val map: Pair.value -> Pair.value
|
type env
|
||||||
|
val map: Pair.value * env -> Pair.value
|
||||||
end
|
end
|
||||||
|
|
||||||
signature MAPPER =
|
signature MAPPER =
|
||||||
@@ -963,6 +964,7 @@ structure IntMap =
|
|||||||
MakeGapMapMapper
|
MakeGapMapMapper
|
||||||
(struct
|
(struct
|
||||||
structure Pair = Pair
|
structure Pair = Pair
|
||||||
fun map x = x * 5
|
type env = ()
|
||||||
|
fun map x () = x * 5
|
||||||
end)
|
end)
|
||||||
*)
|
*)
|
||||||
|
|||||||
Reference in New Issue
Block a user