Figure 5From: Versatile and declarative dynamic programming using pair algebrasFour evaluation algebras for grammar wuchty98. Arguments a and b denote bases, (i, j) represents the input subword wi + 1.... w j , and s denotes answer values. Function dots(r) in algebra pretty yields a string of r dots ('.').Back to article page