librasteve / raku-Physics-Measure

do calculations on objects with value, units and error
Artistic License 2.0
11 stars 2 forks source link

add proto method new(|) {*} #54

Open librasteve opened 2 years ago

librasteve commented 2 years ago

#rakulang tip of the day: if you're using a multi method new, you probably want to define a proto method new(|) {*} along with it. Otherwise the default new method will be one of the candidates which can lead to some confusing errors.