summaryrefslogtreecommitdiffstats
path: root/Operations.hs
diff options
context:
space:
mode:
authorDon Stewart <dons@galois.com>2007-10-14 01:21:50 +0200
committerDon Stewart <dons@galois.com>2007-10-14 01:21:50 +0200
commita175d7fbee65b22aec5f6e9dbf6d987dd040a44a (patch)
treec19cd31940cd8a98fe95d63fcfaa5cc15efd316f /Operations.hs
parent2cdd0ccc222f5780c23765a93c4e477424aa77b0 (diff)
downloadmetatile-a175d7fbee65b22aec5f6e9dbf6d987dd040a44a.tar
metatile-a175d7fbee65b22aec5f6e9dbf6d987dd040a44a.zip
document, and use better names, for serialising/existential-dispatch framework
darcs-hash:20071013232150-cba2c-dc3ee2254f4ebdb5d0099ec0a38c5665f1ad4d3f
Diffstat (limited to 'Operations.hs')
-rw-r--r--Operations.hs8
1 files changed, 4 insertions, 4 deletions
diff --git a/Operations.hs b/Operations.hs
index 0edfbb9..5b3bb2d 100644
--- a/Operations.hs
+++ b/Operations.hs
@@ -369,10 +369,10 @@ data ChangeLayout = NextLayout | PrevLayout | JumpToLayout String
instance Message ChangeLayout
instance ReadableLayout Window where
- defaults = Layout (Select []) :
- Layout Full : Layout (Tall 1 0.1 0.5) :
- Layout (Mirror $ Tall 1 0.1 0.5) :
- serialisedLayouts
+ readTypes = Layout (Select []) :
+ Layout Full : Layout (Tall 1 0.1 0.5) :
+ Layout (Mirror $ Tall 1 0.1 0.5) :
+ serialisedLayouts
data Select a = Select [Layout a] deriving (Show, Read)