Skip to content

Commit

Permalink
collectionToUpdates: snapshotCollection has been renamed
Browse files Browse the repository at this point in the history
  • Loading branch information
John Lato committed May 29, 2012
1 parent e388d83 commit 9b3a689
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FRP/Euphoria/Collection.hs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ collectionToUpdates
:: forall k a. Collection k a
-> SignalGen (Event (CollectionUpdate k a))
collectionToUpdates aC = do
(cur,updateE) <- snapshotCollection aC
(cur,updateE) <- openCollection aC
initE <- onCreation (map (uncurry AddItem) cur)
initE' <- memoE $ flattenE initE
return (updateE `mappend` initE')
Expand Down

0 comments on commit 9b3a689

Please sign in to comment.