Skip to content

Commit

Permalink
Move empty set symbol to right place, but alas still doesn't work
Browse files Browse the repository at this point in the history
  • Loading branch information
lizmat committed Sep 28, 2013
1 parent a1a722c commit 371c4bc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 4 additions & 0 deletions src/core/Set.pm
Expand Up @@ -19,3 +19,7 @@ my class Set does Setty {
method Set { self }
method KeySet { KeySet.new(self.keys) }
}

sub set(*@args --> Set) { Set.new(@args) }
# U+2205 EMPTY SET
#constant term:<<"\x2205">> = set(); #Cannot call ACCEPTS; no signatures match
5 changes: 0 additions & 5 deletions src/core/Setty.pm
Expand Up @@ -71,9 +71,6 @@ my role Setty does Associative {
# TODO: WHICH will require the capability for >1 pointer in ObjAt
}

# U+2205 EMPTY SET
#constant term:<<"\x2205">> = set(); # invoke() not implemented in class 'QAST::Want'

proto sub infix:<(elem)>($, $ --> Bool) {*}
multi sub infix:<(elem)>($a, Any $b --> Bool) {
$a (elem) $b.Set(:view);
Expand Down Expand Up @@ -266,5 +263,3 @@ only sub infix:<<"\x2283">>($a, $b --> Bool) {
only sub infix:<<"\x2285">>($a, $b --> Bool) {
$a !(>) $b;
}

sub set(*@args --> Set) { Set.new(@args) }

0 comments on commit 371c4bc

Please sign in to comment.