This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#| A class that implements the Positional, Associative, and Callable roles. | |
#| Accordingly, this type can be bound variables with any sigil | |
class Seuss does Positional does Associative does Callable does Iterable { | |
has @.pos handles <AT-POS EXISTS-POS DELETE-POS ASSIGN-POS BIND-POS elems> | |
= Nil, '🐠', '<°))))><'; | |
has %.asc handles <AT-KEY EXISTS-KEY DELETE-KEY ASSIGN-KEY BIND-KEY> | |
= (:blue<🐟>, :red<🐡>); | |
method of { Mu } |
OlderNewer