Add failing example
commit148a845686a75673c6d323e6946ee7fe8af5d503
authorPhil Freeman <paf31@cantab.net>
dateThu 3 Apr 2014, 16:01 (13 years ago)
parentefc421c
examples/failing/NoOverlap.pursnew file+11
@@ -0,0 +1,11 @@
1+module Main where
2+
3+data Foo = Foo
4+
5+instance showFoo1 :: Show Foo where
6+ show _ = "Foo"
7+
8+instance showFoo2 :: Show Foo where
9+ show _ = "Bar"
10+
11+test = show Foo