File tree 1 file changed +4
-4
lines changed 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -64,11 +64,11 @@ prettyText svg = B.toLazyText $ LT.foldr go mempty text Nothing (-1)
64
64
--
65
65
-- 'path_', 'circle_', 'color_', 'scale_'
66
66
--
67
- -- Plain text is written using the @OverloadedStrings@ and
68
- -- @ExtendedDefaultRules@ extensions , and is automatically escaped:
67
+ -- Plain text is written using the @OverloadedStrings@
68
+ -- extension , and is automatically escaped:
69
69
--
70
70
-- As in Lucid, elements nest by function application (unlike Lucid, there
71
- -- is no Monad instance for Elements ):
71
+ -- is no Monad instance for 'Element's and an 'Attribute' list is always required ):
72
72
--
73
73
-- >>> g_ [] (text_ [] "Hello SVG")
74
74
-- <g><text>Hello SVG</text></g>
@@ -79,7 +79,7 @@ prettyText svg = B.toLazyText $ LT.foldr go mempty text Nothing (-1)
79
79
-- <text>Hello</text><text>SVG</text>
80
80
--
81
81
-- Attributes are set by providing an argument list. Each argument is set
82
- -- using the 'bindAttr' function or operators, ' <<-' and '->>'.
82
+ -- using the 'bindAttr' function or operators, '<<-' and '->>'.
83
83
--
84
84
-- >>> rect_ [Width <<- "100%", Height <<- "100%", "red" ->> Fill] nil
85
85
-- <rect height="100%" width="100%" fill="red"></rect>
You can’t perform that action at this time.
0 commit comments