Hi,
I'm working on a data structure that uses Data.Sequence a lot, so views
are important and I tried to simplify my code using view patterns.
The problem is, that I keep getting warnings about both overlapping and
non-exhaustive pattern matches. A simple test case:
On Wed, Mar 11, 2009 at 5:22 PM, Stephan Friedrichs
deduktionstheo...@web.de wrote:
Hi,
I'm working on a data structure that uses Data.Sequence a lot, so views
are important and I tried to simplify my code using view patterns.
The problem is, that I keep getting warnings about both
Hi Stephan,
I'm working on a data structure that uses Data.Sequence a lot, so views
are important and I tried to simplify my code using view patterns.
The problem is, that I keep getting warnings about both overlapping and
non-exhaustive pattern matches. A simple test case:
Svein Ove Aas wrote:
[...]
For the time being, it will *work*, you just won't get useful
warnings. Hopefully it's going to be fixed for 10.2.
Hmm I don't find #2395 anywhere on
http://hackage.haskell.org/trac/ghc/milestone/6.10.2 :(
//Stephan
--
Früher hieß es ja: Ich denke, also bin