/[james]/factorcss/CSS.hs
ViewVC logotype

Diff of /factorcss/CSS.hs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 62 by james, Mon Dec 27 19:11:07 2004 UTC revision 72 by james, Sat Feb 12 13:31:23 2005 UTC
# Line 1  Line 1 
1    --
2    -- This file is part of FactorCSS
3    -- Licensed under the MIT License,
4    --                http://www.opensource.org/licenses/mit-license
5    -- Copyright 2004 James Bursa <james@semichrome.net>
6    --
7    
8  -- Datatypes for CSS  -- Datatypes for CSS
9    
10  module CSS where  module CSS where
# Line 112  show_selector ((ss, c):zs) = show_simple Line 119  show_selector ((ss, c):zs) = show_simple
119    
120  show_simple_selector :: SimpleSelector -> String  show_simple_selector :: SimpleSelector -> String
121  show_simple_selector (Just s, ds) = s ++ (concat . map show_detail) ds  show_simple_selector (Just s, ds) = s ++ (concat . map show_detail) ds
122    show_simple_selector (Nothing, []) = "*"
123  show_simple_selector (Nothing, ds) = (concat . map show_detail) ds  show_simple_selector (Nothing, ds) = (concat . map show_detail) ds
124    
125  show_detail :: Detail -> String  show_detail :: Detail -> String

Legend:
Removed from v.62  
changed lines
  Added in v.72

  ViewVC Help
Powered by ViewVC 1.1.26