Box the compass: Difference between revisions

m
(J: bugfix)
Line 29:
hy=:'-'tween&>/@(/: #@>)@;
fixup=: (rplc ''|.@;{.@;:@tolower) ^:(' '&e.)L:0
points=:fixup , 2 ([;by;hy;by~)&>/\ cardinal
indice=: 32 | 0.5 <.@+ %&11.25
deg2pnt=: points {~ indice</lang>
6,962

edits