Methods
define creates named methods with parameters, constraints, defaults, blocks, and return values.
Target
Methods are the ordinary abstraction for reusable LaiRu behavior. Parameters become local variables inside the method body and names are matched without case sensitivity in normal use.
Examples
Working pattern
1define greet(name::string)::string => {2 return 'Hello, ' + #name3}4greet('Ada')Use this as a focused starting point and adapt it in context.