atzeus / FRPNow

Other
89 stars 14 forks source link

Tiny cleanups helping FRPNow to compile #21

Closed iblech closed 9 years ago

iblech commented 9 years ago

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).

atzeus commented 9 years ago

Thanks!