summaryrefslogtreecommitdiff
path: root/examples/failing/365.purs
blob: 9a97030c9fbbe3b14c6e91c2435b51de8c7e881b (plain)
1
2
3
4
5
6
7
8
9
10
11
module Main where

class C a where
  f :: a -> a
  g :: a -> a

instance cS :: C String where
  f s = s
  g = f

main = g "Done"