Handbook
Glossary
render-grid-cell ( cpu os quot -- xml )
Vocabulary
webapps
.
mason
.
grids
Inputs
cpu
an
object
os
an
object
quot
an
object
Outputs
xml
an
object
Definition
USING:
combinators
kernel
webapps.mason.utils
xml.data
xml.syntax.private
;
IN:
webapps.mason.grids
:
render-grid-cell
( cpu os quot -- xml )
( cpu os -- url label )
call-effect
2dup
and
[
link
1
nenum
T{
xml-chunk
{
seq
V{
""
T{
tag
{
name ~name~
}
{
attrs ~attrs~
}
{
children ~vector~
}
}
""
}
}
}
interpolate-xml
]
[
2drop
T{
xml-chunk
{
seq
V{
""
T{
tag
{
name ~name~
}
{
attrs ~attrs~
}
}
""
}
}
}
]
if
;