The first commit is straightforward: Apparently there was a switch from lists to sets at some point in time. However, Examples/Gloss/Draw.hs didn't fully reflect this change. With the commit, it works like a charm.
The second commit removes a couple of unnecessary LambdaCase pragmas, for the silly reason that I'm stuck with an ancient GHC on my system (7.4.1) which doesn't know this pragma yet.
Just for the record: FRPNow works just fine with GHC 7.4.1, if one applies the second commit and also changes the import Prelude statement in Control/FRPNow/Core.hs to import Prelude hiding (catch).
The first commit is straightforward: Apparently there was a switch from lists to sets at some point in time. However, Examples/Gloss/Draw.hs didn't fully reflect this change. With the commit, it works like a charm.
The second commit removes a couple of unnecessary LambdaCase pragmas, for the silly reason that I'm stuck with an ancient GHC on my system (7.4.1) which doesn't know this pragma yet.
Just for the record: FRPNow works just fine with GHC 7.4.1, if one applies the second commit and also changes the
import Prelude
statement in Control/FRPNow/Core.hs toimport Prelude hiding (catch)
.