Skip to content

Commit

Permalink
less OverlappingInstances noise
Browse files Browse the repository at this point in the history
  • Loading branch information
jkarni authored and luigy committed Jan 4, 2016
1 parent 480b224 commit c5cb237
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions include/overlapping-compat.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#if __GLASGOW_HASKELL__ >= 710
#define OVERLAPPABLE_ {-# OVERLAPPABLE #-}
#define OVERLAPPING_ {-# OVERLAPPING #-}
#else
{-# LANGUAGE OverlappingInstances #-}
#define OVERLAPPABLE_
#define OVERLAPPING_
#endif
1 change: 1 addition & 0 deletions servant-js.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ library
hs-source-dirs: src
default-language: Haskell2010
ghc-options: -Wall
include-dirs: include

executable counter
main-is: counter.hs
Expand Down

0 comments on commit c5cb237

Please sign in to comment.