@@ -81,7 +81,7 @@ module AVal =
8181 /// <summary>
8282 /// Calls a mapping function which creates additional dependencies to be tracked.
8383 /// </summary>
84- let mapWithAdditionalDependenies ( mapping : 'a -> 'b * #seq < #IAdaptiveValue >) ( value : aval < 'a >) : aval < 'b > =
84+ let mapWithAdditionalDependencies ( mapping : 'a -> 'b * #seq < #IAdaptiveValue >) ( value : aval < 'a >) : aval < 'b > =
8585 let mutable lastDeps = HashSet.empty
8686
8787 { new AVal.AbstractVal< 'b>() with
@@ -176,7 +176,7 @@ module AMap =
176176 | None -> HashSet.empty
177177
178178
179- /// Reader for batchRecalc operations.
179+ /// Reader for batchRecalculate operations.
180180 [<Sealed>]
181181 type BatchRecalculateDirty < 'k , 'a , 'b >( input : amap < 'k , 'a >, mapping : HashMap < 'k , 'a > -> HashMap < 'k , aval < 'b >>) =
182182 inherit AbstractReader< HashMapDelta< 'k, 'b>>( HashMapDelta.empty)
@@ -224,14 +224,14 @@ module AMap =
224224
225225 cache <-
226226 match HashMap.tryRemove i cache with
227- | Some( o, remaingCache ) ->
227+ | Some( o, remainingCache ) ->
228228 let rem , rest = MultiSetMap.remove o i targets
229229 targets <- rest
230230
231231 if rem then
232232 o.Outputs.Remove x |> ignore
233233
234- remaingCache
234+ remainingCache
235235 | None -> cache
236236
237237 match op with
@@ -301,7 +301,7 @@ module AMap =
301301 =
302302 let mapping =
303303 mapping
304- >> HashMap.map ( fun _ v -> AVal.constant v |> AVal.mapWithAdditionalDependenies ( id))
304+ >> HashMap.map ( fun _ v -> AVal.constant v |> AVal.mapWithAdditionalDependencies ( id))
305305
306306 batchRecalcDirty mapping map
307307
0 commit comments