diff --git a/extra/html/elements/elements.factor b/extra/html/elements/elements.factor
index 5fc4bd19ae..35e01227b5 100644
--- a/extra/html/elements/elements.factor
+++ b/extra/html/elements/elements.factor
@@ -5,7 +5,7 @@
USING: io kernel namespaces prettyprint quotations
sequences strings words xml.entities compiler.units effects
-urls math math.parser combinators present ;
+urls math math.parser combinators present fry ;
IN: html.elements
@@ -70,7 +70,7 @@ SYMBOL: html
: def-for-html-word- ( name -- )
#! Return the name and code for the patterned
#! word.
- dup swap [ write-html ] curry
+ dup swap '[ , write-html ]
(( -- )) html-word ;
: ( str -- foo> ) ">" append ;
@@ -93,14 +93,14 @@ SYMBOL: html
: def-for-html-word- ( name -- )
#! Return the name and code for the patterned
#! word.
- dup [ write-html ] curry (( -- )) html-word ;
+ dup '[ , write-html ] (( -- )) html-word ;
: ( str -- ) "<" swap "/>" 3append ;
: def-for-html-word- ( name -- )
#! Return the name and code for the patterned
#! word.
- dup swap [ write-html ] curry
+ dup swap '[ , write-html ]
(( -- )) html-word ;
: foo/> ( str -- str/> ) "/>" append ;
@@ -134,7 +134,7 @@ SYMBOL: html
: define-attribute-word ( name -- )
dup "=" prepend swap
- [ write-attr ] curry (( string -- )) html-word ;
+ '[ , write-attr ] (( string -- )) html-word ;
! Define some closed HTML tags
[