HsGuardsStruct.hs

-- $Id: HsGuardsStruct.hs,v 1.1 2001/07/25 01:15:30 moran Exp $

module HsGuardsStruct where

import SrcLoc


data HsAlt e p ds
    = HsAlt SrcLoc p (HsRhs e) {-where-} ds
      deriving (Eq, Show)

data HsRhs e
    = HsBody e
    | HsGuard [(SrcLoc, e, e)]
      deriving (Eq, Show)

Plain-text version of HsGuardsStruct.hs | Valid HTML?