Skip to content

Commit f2e76a8

Browse files
author
Tyson Williams
committed
renamed childrenCountersOf to childCountersOf
1 parent 142b638 commit f2e76a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Samples/SubModelSeq/Program.fs

+2-2
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ module App =
180180
m.DummyRoot |> RoseTree.dataOfChildren
181181

182182
/// Returns all immediate child counters of the specified parent counter ID.
183-
let childrenCountersOf pid m =
183+
let childCountersOf pid m =
184184
m.DummyRoot
185185
|> RoseTree.flatten
186186
|> List.find (fun n -> n.Data.Id = pid)
@@ -229,7 +229,7 @@ module Bindings =
229229
"GlobalState" |> Binding.oneWay(fun (m, _) -> m.SomeGlobalState)
230230

231231
"ChildCounters" |> Binding.subModelSeq(
232-
(fun (m, c) -> m |> childrenCountersOf c.Id),
232+
(fun (m, c) -> m |> childCountersOf c.Id),
233233
(fun ((m, _), childCounter) -> (m, childCounter)),
234234
(fun (_, c) -> c.Id),
235235
snd,

0 commit comments

Comments
 (0)