this would fix in the current locale. (?) put is probably not in the current locale. f. is used as ducktyping in J for crosslocales, and is needed behaviour for coinsert to work like inheritance.
----- Original Message ----- From: Raul Miller <[email protected]> To: Programming forum <[email protected]> Cc: Sent: Tuesday, February 18, 2014 4:14:47 PM Subject: [Jprogramming] wat? (seems like a spurious value error from f.) Here is the definition of a verb defined in the writenif locale: write_int_writenif_ put@(2&ic) Here are the definitions of the two verbs named in that definition: put_writenif_ 3 : ' 0 0$WRITENIF=:WRITENIF,,y' ic_writenif_ 3!:4 Here is what happens when I try to fix that definition: write_int_writenif_ f. |value error: put | write_int_writenif_ f. I get similar errors when I try to use those verbs, which is why I was using fix - to try and isolate the error. I'm not seeing what I did wrong here. Can someone help me out? Thanks, -- Raul ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
