1 2 3 4 5 6 7
{-# LANGUAGE TemplateHaskell #-} module Main where data D = C { f :: () } $( const mempty f )