packages feed

singletons-base-3.3: tests/compile-and-dump/Singletons/T166.hs

module SingletonsBug where

import Data.Singletons.Base.TH
import GHC.TypeLits

$(singletonsOnly [d|
  class Foo a where
    foosPrec :: Natural -> a -> [Bool] -> [Bool]
    foo      :: a -> [Bool]

    foo        x s = foosPrec 0 x s
  |])