diff options
| -rw-r--r-- | README.md | 3 | ||||
| -rw-r--r-- | md.bqn | 2 | ||||
| -rw-r--r-- | svg.bqn | 2 |
3 files changed, 3 insertions, 4 deletions
@@ -19,8 +19,7 @@ repl ← "div:cont" E ⟨ ⟩ "pre:rslt" E """B Q N""" ⟩ -repl∾↩<∾(""Enc˜"script"Attr"src"≍○<∾⟜".js")¨"bqn"‿"repl" -∾∾⟜(10+@)¨ repl +repl ∾< ∾(""Enc˜"script"Attr"src"≍○<∾⟜".js")¨"bqn"‿"repl" --> **BQN** is a new programming language in the APL lineage, which aims to remove irregular and burdensome aspects of the APL tradition and put the great ideas on a firmer footing. While its use demands a solid understanding of functions and multidimensional arrays, BQN's focus on providing simple, consistent, and powerful array operations (and documentation!) makes it a good language for learning array programming and building stronger array intuition. @@ -160,7 +160,7 @@ blobURL ← repoURL∾"/blob/master/" # Environments _getCodeExec ← {𝕗⋄⍎} -_getSvgExec ← {𝕗⋄⟨"svg.bqn","⍎"⟩ •Import "dzref"} +_getSvgExec ← {𝕗⋄JoinLines⍟(1<≡)∘(⟨"svg.bqn","⍎"⟩ •Import "dzref")} ################################ @@ -43,5 +43,5 @@ Pos ← ⟨"x","y"⟩ ≍˘ FmtNum¨ Elt ← Void∘Attr SVG ← { - (∾∾⟜(10+@)¨)⍟IsLines ("svg" Attr ⟨"viewBox",Fmt 𝕨⟩) Enc 𝕩 + ("svg" Attr ⟨"viewBox",Fmt 𝕨⟩) Enc 𝕩 } |
