Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: [Raku] Trying to get Red see the schema

by smokemachine (Hermit)
on Mar 28, 2021 at 14:48 UTC ( [id://11130512] : note . print w/replies, xml ) Need Help??


in reply to [Raku] Trying to get Red see the schema

It seems https://github.com/FCO/Red/blob/master/examples/alive/Schema.rakumod has the same problem as your code. I'll fix that example (that was written before `:api<2>`). About the:
model Log {...} model Person {...}
That's the raku way to use a class/model before defining it, raku parses it in only 1 pass.