Skip to content

Commit

Permalink
quasar: Remove unnecessary ObservableT hunk
Browse files Browse the repository at this point in the history
  • Loading branch information
queezle42 committed Jun 13, 2024
1 parent 4163178 commit 729aadd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quasar/src/Quasar/Observable/Core.hs
Original file line number Diff line number Diff line change
Expand Up @@ -1576,7 +1576,7 @@ type Observable :: LoadKind -> [Type] -> Type -> Type
newtype Observable canLoad exceptions v = Observable (ObservableT canLoad exceptions Identity v)

instance ToObservableT canLoad exceptions Identity v (Observable canLoad exceptions v) where
toObservableT (Observable x) = ObservableT x
toObservableT (Observable x) = x

instance Functor (Observable canLoad exceptions) where
fmap fn (Observable fx) = Observable (ObservableT (mapObservable# fn fx))
Expand Down

0 comments on commit 729aadd

Please sign in to comment.