Untitled

Run Settings
LanguageRaku
Language Version
Run Command
class Node { has $.value; has $.child; has @.tests; method test(&code) { with $!child { $!child.test: &code } else { @!tests.push: &code }; self } method add($child) { with $!child { $!child.add: $child; } else { $!child = self.new: :value($child); } self } } say Node.new(:value<html>).add("body").add("h1").test: *.id eq "red"
Editor Settings
Theme
Key bindings
Full width
Lines