Talk:Align columns: Difference between revisions
Content added Content deleted
m (→J solution) |
m (→J solution) |
||
Line 1: | Line 1: | ||
== J solution == |
== J solution == |
||
I haven't read the J solution in depth yet, but it appears more complex than may be neccesary. For example, with <tt>'LEFT CENTER RIGHT'=:i.2</tt> |
I haven't read the J solution in depth yet, but it appears more complex than may be neccesary. For example, with <tt>'LEFT CENTER RIGHT'=:i.2</tt> we can solve the task thus: |
||
(#~ 0 1 $~ #) (9!:17 CENTER #~ 2 [ 9!:7 ' '$~11) (]":) 4 :'<;._2&.(,&x)y'S:0 /'$';LF;text |
(#~ 0 1 $~ #) (9!:17 CENTER #~ 2 [ 9!:7 ' '$~11) (]":) 4 :'<;._2&.(,&x)y'S:0 /'$';LF;text |