Fix crash bug for ghc-7 when using -XHaskell98
Ignore-this: 6fd5c5060baac8ce37cf19720bd28304
The code uses monomorphic pattern bindings, but did not say so.
This patch adds MonoPatBinds to the affected source code file.
If using -XHaskell98 (that is, building with cabal instead of cabal-install)
the build would fail with a ghc crash.
For reference see: http://hackage.haskell.org/trac/ghc/ticket/4498
darcs-hash:20101222164140-fdf66-5b493e2b70205e7e4e4ae7f085fe29553eea9826.gz
commitae06339529279956d24d8bca34b0af65aa079779
authorLennart Kolmodin <kolmodin@gentoo.org>
dateWed 22 Dec 2010, 08:41 (16 years ago)
parentc623822
src/Data/Terminfo/Eval.hs+1
@@ -5,6 +5,7 @@
55{-# LANGUAGE FlexibleContexts #-}
66{-# LANGUAGE NoMonomorphismRestriction #-}
77{-# LANGUAGE NamedFieldPuns #-}
8+{-# LANGUAGE MonoPatBinds #-}
89{-# OPTIONS_GHC -funbox-strict-fields #-}
910{- Evaluates the paramaterized terminfo string capability with the given parameters.
1011 -