Handbook
Glossary
card-by-name ( name -- card )
Vocabulary
scryfall
Inputs
name
an
object
Outputs
card
an
object
Definition
USING:
assocs
kernel
sequences
unicode
;
IN:
scryfall
:
card-by-name
( name -- card )
[
mtg-oracle-cards
]
dip
>lower
[
[
[
"name"
of
>lower
]
]
dip
[
=
]
curry
compose
filter
?first
]
[
[
[
"name"
of
>lower
]
]
dip
[
head?
]
curry
compose
filter
?first
]
2bi
or
;