[Jprogramming] Open, padding with zeroes

Raul Miller rauldmiller at gmail.com
Thu Dec 6 17:17:39 UTC 2012


Here's another implementation of "open with fit" which is sufficient
for this case:

fitopen=:4 :0
  data=.x,;y
  (>data i.L:_ _1 y) { data
)

   '0' fitopen '11';'111'
110
111

Note that both the implementation and the concept would have to be
refined if we wanted to deal with open in the context of mis-matched
noun ranks.

-- 
Raul


More information about the Programming mailing list