packages feed

purescript-0.15.5: tests/purs/failing/FoldableInstance5.purs

-- @shouldFailWith CannotDeriveInvalidConstructorArg
module FoldableInstance5 where

import Prelude
import Data.Foldable (class Foldable)
import Data.Tuple (Tuple(..))

data Test a = Test (Tuple a Int)
derive instance Foldable Test