on master help sign in
Fix combine function in Signal.
7664f71evancz
libraries/Signal.elm+1−1
@@ -42,7 +42,7 @@ merge : Signal a -> Signal a -> Signal a
42merges : [Signal a] -> Signal a
42merges : [Signal a] -> Signal a
43
43
44combine : [Signal a] -> Signal [a]
44combine : [Signal a] -> Signal [a]
45−combine = List.foldr (S.lift2 (::)) (S.constant [])
45+combine = L.foldr (S.lift2 (::)) (S.constant [])
46
46
47-- Merge two signals into one, but distinguishing the values by marking the first
47-- Merge two signals into one, but distinguishing the values by marking the first
48-- signal as `Left` and the second signal as `Right`. This allows you to easily
48-- signal as `Left` and the second signal as `Right`. This allows you to easily