From: Michael Orlitzky Date: Tue, 5 Mar 2019 04:36:17 +0000 (-0500) Subject: src/FunctionValues.hs: disable incomplete pattern match warnings. X-Git-Tag: 1.0.1~12 X-Git-Url: http://gitweb.michael.orlitzky.com/?p=spline3.git;a=commitdiff_plain;h=70f47e1795fac88c669a64f179430797293d6f58 src/FunctionValues.hs: disable incomplete pattern match warnings. This module has an incomplete match by design, too. Ignore it. --- diff --git a/src/FunctionValues.hs b/src/FunctionValues.hs index dc1f0d0..632a7f4 100644 --- a/src/FunctionValues.hs +++ b/src/FunctionValues.hs @@ -1,3 +1,6 @@ +-- The "value_at" function pattern matches on some integers, but +-- doesn't handle the "otherwise" case, for performance reasons. +{-# OPTIONS_GHC -Wno-incomplete-patterns #-} {-# LANGUAGE BangPatterns #-} -- | The FunctionValues module contains the 'FunctionValues' type and