Factor Documentation

Home

Glossary

Search
factorcode.org
rewritesugar* ( obj  )
Vocabulary
locals.rewrite.sugar
Inputs and outputs
obj
an
object
Definition
IN:
locals.rewrite.sugar
GENERIC:
rewritesugar*
( obj  )
Methods
USING:
arrays
locals.rewrite.sugar
;
M:
array
rewritesugar*
rewriteelement
;
USING:
locals.rewrite.sugar
make
quotations
;
M:
callable
rewritesugar*
quotationrewrite
,
;
USING:
locals.rewrite.sugar
locals.types
make
;
M:
def
rewritesugar*
,
;
USING:
hashtables
locals.rewrite.sugar
;
M:
hashtable
rewritesugar*
rewriteelement
;
USING:
locals.rewrite.sugar
locals.types
make
;
M:
lambda
rewritesugar*
quotationrewrite
,
;
USING:
accessors
locals.rewrite.sugar
locals.types
make
;
M:
let
rewritesugar*
body>>
quotationrewrite
%
;
USING:
accessors
locals.rewrite.sugar
locals.types
make
sequences
;
M:
multidef
rewritesugar*
locals>>
<reversed>
[
<def>
,
]
each
;
USING:
kernel
locals.rewrite.sugar
make
;
M:
object
rewritesugar*
,
;
USING:
kernel
locals.rewrite.sugar
;
M:
tuple
rewritesugar*
rewriteelement
;
USING:
locals.rewrite.sugar
vectors
;
M:
vector
rewritesugar*
rewriteelement
;
USING:
generic
kernel
locals.backend
locals.errors
locals.rewrite.sugar
sequences
words
;
M:
word
rewritesugar*
dup
{
loadlocals
getlocal
droplocals
}
membereq?
[
>r/r>inlambdaerror
]
[
M\
word
rewritesugar*
(callnextmethod)
]
if
;
USING:
kernel
locals.rewrite.sugar
;
M:
wrapper
rewritesugar*
rewritewrapper
;