
14 Apr
2010
14 Apr
'10
10:49 p.m.
Hi, Sorry I can't be of much help here, but I have a question though:
data StateCmd a where Put :: a -> StateCmd a Undo :: StateCmd a Redo :: StateCmd a deriving (Show, Functor)
I'm not familiar with the above syntax (data ... where). What does it do exactly? Patrick -- ===================== Patrick LeBoutillier Rosemère, Québec, Canada