!EjsgbQQNuTfHXQoiax:matrix.org

BQN

879 Members
The BQN array programming language, an APL descendant32 Servers

Load older messages


SenderMessageTime
14 Apr 2024
@_discord_671689100331319316:t2bot.iobrian_e wonder how that works, docs time 22:30:59
@_discord_671689100331319316:t2bot.iobrian_e I couldn't find documentation on nested arrays as 𝕨 for . Could i get an explanation for [2‿3,4‿5]‿10⊔2‿2⥊"abcd" [BQN output](https://mlochbaum.github.io/BQN/try.html#code=4oqiIGEg4oaQICdhJyvipYrin5wo4oaVw5fCtCkz4oC/NQoKKCvijJzCtMK34oaVwqjiiaIp4oq44oqUIGE=)?
Seems like the 10 is deciding the size horizontally, meanwhile the array [2‿3,4‿5] is deciding the indecies of the values in the result, but the values are placed on the last collumn?
22:52:55
@dzaima:matrix.orgdzaima first, ⟨[2‿3,4‿5], 10⟩ ⊔ 2‿2⥊"abcd" is ⟨2‿3‿4‿5, 10⟩ ⊔ "abcd" 22:58:06
@dzaima:matrix.orgdzaima nested is described here 22:58:43
@_discord_671689100331319316:t2bot.iobrian_e oh missed it 23:01:14
@dzaima:matrix.orgdzaima the shape requirements for nested 𝕨 𝕨⊔𝕩 are like s←∾≢¨𝕨 ⋄ ! (≠s) ≤ =𝕩 ⋄ ! s ≡ (≠s) ↑ ≢𝕩 or so 23:08:17
@_discord_671689100331319316:t2bot.iobrian_e docs said "If every element of 𝕨 is sorted ascending and has no ¯1s, we have 𝕩≡∾𝕨⊔𝕩, that is, Join is the inverse of partitioning" which is super cool, but isn't the following code a counterexample of that? or does that not include multidimensional args?
a←2‿2⥊"abcd"
a≡ •Show ∾[2‿3,4‿5]‿1⊔a # returns 0, and shows ["a"⋄"b"⋄"c"⋄"d"] 
23:21:01
@dzaima:matrix.orgdzaima the matrix [2‿3,4‿5] presumably doesn't count as "sorted" here 23:23:18
@dzaima:matrix.orgdzaima but even then I don't think that quote is particularly accurate 23:24:27
@_discord_671689100331319316:t2bot.iobrian_e o? 23:24:40
@dzaima:matrix.orgdzaima oh wait no i tested wrong 23:26:21
@mlochbaum:matrix.orgMarshall I probably wrote that before multidimensional elements were supported. 23:41:43
@mlochbaum:matrix.orgMarshall "𝕨 must be a list of numeric lists" is wrong too isn't it. 23:47:58
15 Apr 2024
@mlochbaum:matrix.orgMarshall All right, made some adjustments and added a little paragraph on how multidimensional elements of 𝕨 behave. A little vague but it's not a super important case. 00:01:55
@mlochbaum:matrix.orgMarshall But this was a pretty bad gap in the documentation, thanks for reporting! 00:02:15
@_discord_671689100331319316:t2bot.iobrian_e I like the new version of it. quick request, can you split out the (10×↕4)+⌜↕7 and display it before the grouping? i think that would be nice 00:29:11
@_discord_671689100331319316:t2bot.iobrian_e especially since you can easily see what goes where at a glance 00:32:21
@mlochbaum:matrix.orgMarshall Sure, added that. 00:37:43
@_discord_671689100331319316:t2bot.iobrian_e lovely, thanks :) 00:38:01
@gvolk0:matrix.orggvolk0 changed their display name from pechkin to gvolk0.01:21:12
16 Apr 2024
@keshavhi:matrix.org@keshavhi:matrix.org left the room.12:51:22
@_discord_1154759820042309762:t2bot.ioandradefr8_26148 joined the room.17:32:04
@_discord_771114800071180319:t2bot.iotag_ferd11 joined the room.22:39:58
@dzaima:matrix.orgdzaima banned @thompson_plug:matrix.org@thompson_plug:matrix.org.23:05:45
17 Apr 2024
@_discord_967467477808336977:t2bot.ioelliottdonn joined the room.21:18:19
@_discord_967467477808336977:t2bot.ioelliottdonnRedacted or Malformed Event21:19:33
18 Apr 2024
@ericwalter65:matrix.org@ericwalter65:matrix.org joined the room.06:27:49
@ericwalter65:matrix.org@ericwalter65:matrix.org left the room.06:33:33
19 Apr 2024
@_discord_716789023254904903:t2bot.iomr_jamesrobert joined the room.01:52:56
@_discord_716789023254904903:t2bot.iomr_jamesrobertRedacted or Malformed Event01:53:25

There are no newer messages yet.


Back to Room ListRoom Version: 6