CSV to HTML translation: Difference between revisions

→‎{{header|J}}: add tacit equivalents
(→‎{{header|J}}: extra credit)
(→‎{{header|J}}: add tacit equivalents)
Line 138:
;markupTable markupRows t
)</lang>
 
For those interested, equivalent tacit versions of <code>tag</code> and <code>makeHTMLtablefromCSV</code> are:
<lang j>tag=: adverb def '[: (,&.>/)"1 m&(0&{::@[ , 1&{::@[ ,~ ]) L:0@]'
makeHTMLtablefromCSV6=: 0&$: : ([: ; markupTable@markupRows@([ markupCells`(markupHdrCells@{. , markupCells@}.)@.[ fixcsv@encodeHTML))</lang>
 
'''Example'''
892

edits