add 'env' parameter to gap_map.sml's mapper
This commit is contained in:
@@ -71,7 +71,7 @@ struct
|
|||||||
|
|
||||||
fun mapList (hd :: tl, acc, env) =
|
fun mapList (hd :: tl, acc, env) =
|
||||||
let val hd = Vector.map (fn el => Map.map (el, env)) hd
|
let val hd = Vector.map (fn el => Map.map (el, env)) hd
|
||||||
in mapList (tl, hd :: acc)
|
in mapList (tl, hd :: acc, env)
|
||||||
end
|
end
|
||||||
| mapList ([], acc, env) = List.rev acc
|
| mapList ([], acc, env) = List.rev acc
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user