aboutsummaryrefslogtreecommitdiff
path: root/src/Html.hs
diff options
context:
space:
mode:
authordavve <davve@dtek.chalmers.se>2006-08-12 17:15:34 +0000
committerdavve <davve@dtek.chalmers.se>2006-08-12 17:15:34 +0000
commit3fb2208eddb9836d11655e44ad35adf158d2aa23 (patch)
treead5034438b54270bea8a7e4a4565cd18130a57cd /src/Html.hs
parenta7351e86e9c7b8d7bda9259b70e1b0e57019a8a0 (diff)
Perfect rendering of Test.hs
Diffstat (limited to 'src/Html.hs')
-rw-r--r--src/Html.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Html.hs b/src/Html.hs
index ae14c9ae..530df829 100644
--- a/src/Html.hs
+++ b/src/Html.hs
@@ -81,10 +81,10 @@ class ADDATTRS a where
(!) :: a -> [HtmlAttr] -> a
instance (ADDATTRS b) => ADDATTRS (a -> b) where
- fn ! attr = \ arg -> fn arg ! attr
+ (!) fn attr = \ arg -> fn arg ! attr
instance ADDATTRS Html where
- (Html htmls) ! attr = Html (map addAttrs htmls)
+ (!) (Html htmls) attr = Html (map addAttrs htmls)
where
addAttrs html =
case html of