summary refs log tree commit diff stats
path: root/raku/allergies/Allergies.rakumod
blob: 9fda5485775cf82fea08d9e8c14e60640c287d96 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
unit module Allergies;

constant %allergens = (
    eggs         => 0b1,
    peanuts      => 0b10,
    shellfish    => 0b100,
    strawberries => 0b1000,
    tomatoes     => 0b10000,
    chocolate    => 0b100000,
    pollen       => 0b1000000,
    cats         => 0b10000000,
);

sub allergic-to( :$item, :$score ) is export {
}

sub list-allergies($score) is export {
}