X-Git-Url: http://git.shiar.net/sheet.git/blobdiff_plain/bba0d5b6fb0b1bbe6b5bb4a84c72de2152d8dfe3..fc554ef8ffaab2f0a3daed89ae1a18d9c0e117af:/apl.plp diff --git a/apl.plp b/apl.plp index 546be3b..efd1f35 100644 --- a/apl.plp +++ b/apl.plp @@ -27,9 +27,7 @@ EOT use Shiar_Sheet::FormatChar; my $glyphs = Shiar_Sheet::FormatChar->new; - -my @ops = do 'apl.inc.pl'; -@ops > 1 or die "cannot open operator include: $@\n"; +my $ops = Data('apl'); :>

APL Symbols

@@ -49,9 +47,9 @@ my @ops = do 'apl.inc.pl'; <: -for my $op (@ops) { +for my $op (@{$ops}) { $op or do { - print "\n"; + say ''; next; }; @@ -74,22 +72,12 @@ for my $op (@ops) { map { !!$_->[1] && qq( title="$_->[1]"), $_->[0] } [map { EscapeHTML($_) } split /\n/, $_, 2] ) for $monad, $dyad; - print "\n"; + say ''; } :> -
- -
- -
unicode 1.1 - 20th century - in 6.0 (2010) - recent assignments - proposed - irregular -
-
+<: +say for '
', $glyphs->legend;