packages feed

no-recursion-0.2.0.0: tests/ignore/Test/AnnModule.hs

{-# LANGUAGE Unsafe #-}

module Test.AnnModule
  ( recDef,
    nonRecDef,
  )
where

import safe "base" Control.Category (id)

-- Removing this line should cause this module to not compile.
{-# ANN module "Recursion" #-}

recDef :: a -> b
recDef = recDef

nonRecDef :: a -> a
nonRecDef = id
{-# ANN nonRecDef "NoRecursion" #-}