AutoForms-0.4.0: src/Examples/HCron/Editor2nd.hs
{-# LANGUAGE FlexibleContexts, FlexibleInstances
, MultiParamTypeClasses, TemplateHaskell
, TypeSynonymInstances, UndecidableInstances #-}
module Editor2nd where
import Entry1st
import Graphics.UI.AF.WxFormAll
$(derive [''Entry,''Time,''Month])
-- Should not be neccesary, but GHC 6.6 requires it. Remove when we stop support for GHC 6.6.
instance ECCreator (Entry Time)
main = startWx "Editor2nd" $ editFile specLocation ([]::HCron)