Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
make Empty gist to '' like normal ()
  • Loading branch information
TimToady committed Mar 16, 2013
1 parent 4f8f894 commit 5c06e28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/CORE.setting
Expand Up @@ -443,7 +443,7 @@ sub IMMUTABLE(\x) { Q:CgOp { (ternary (var_is_rw {x}) {False} {x.immutable}) } }
my class Empty {
method new() { Empty }
method iterator() { ().iterator }
method gist() { '()' }
method gist() { '' }
method Str() { '' }
method flat() { self.iterator.flat }
method list() { self.iterator.list }
Expand Down

0 comments on commit 5c06e28

Please sign in to comment.