HsGuardsStruct

Plain source file: base/AST/HsGuardsStruct.hs (2001-07-25)

HsGuardsStruct is imported by: BaseSyntaxStruct, HsDeclStruct, HsExpStruct, HsGuards, HsGuardsMaps, HsGuardsPretty, HsGuardsUtil, TiClassInst, TiDinst, FieldSelectors, RemovePatBinds, SimpFieldLabels, SimpFunBind.

-- $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)

Index

(HTML for this module was generated on 2006-08-12. About the conversion tool.)