Handbook
Glossary
prepare ( params -- params' )
Vocabulary
mediawiki
.
api
.
private
Inputs
params
an
object
Outputs
params'
an
object
Definition
USING:
assocs
combinators
kernel
math
math.parser
sequences
strings
;
IN:
mediawiki.api.private
:
prepare
( params -- params' )
[
{
{
[
dup
t
=
]
[
drop
"true"
]
}
{
[
dup
number?
]
[
number>string
]
}
{
[
dup
string?
]
[
]
}
{
[
dup
sequence?
]
[
[
~array~
cond
]
map
"|"
join
]
}
}
cond
]
assoc-map
;