Lukas Hermann

 The APL Orchard

apl.chat ― Learn, teach, ask, code, golf, & discuss usage. See ...
Feb 28, 2021 21:58
@Adám Thanks!!
Feb 28, 2021 21:36
Hi all, this may be a silly question, but does anyone know where the full list of experimental features are for Dyalog 18? I thought the multiline one in Conor Hoekstra's latest video was nifty :)
Feb 21, 2021 18:10
@Marshall I settled on making a view function that can pretty print results. It seemed like the cleanest result (same url: observablehq.com/@lsh/bqn)
Feb 21, 2021 17:33
and call the results on the next input
Feb 21, 2021 17:32
that way I can use the internal fmt function to format the output
Feb 21, 2021 17:32
@Marshall I'm playing with an idea based on that to use observable's viewofoperator, which lets you choose a custom preview and a related value
Feb 21, 2021 17:18
Oh!
Feb 21, 2021 17:09
@Marshall here's the published BQN notebook :) observablehq.com/@lsh/bqn
Feb 21, 2021 02:59
Ah I see, thanks for the tips! I'm having a blast playing around with this stuff
Feb 21, 2021 02:50
@Marshall Oh! That will be fun to use in a notebook context for sure
Feb 21, 2021 02:48
I also made a formatter method that converts backslash notation to BQN strings in the notebook for when I want to write something quickly and see it pretty printed
Feb 21, 2021 02:47
for example my hacky mapping to string vs being able to directly feed it
Feb 21, 2021 02:46
@Marshall Just to see if I understand (since I haven't delved too deeply into it), does that mean that BQN can consume the outputs of other bqn functions?
Feb 21, 2021 02:44
I should note it's literally the parser script from bqn.js completely unchanged, so whatever works with that will work with this
Feb 21, 2021 02:44
@Marshall It was mainly as a way to avoid using the bookmarklet when I use observable on my phone, hahaha
Feb 21, 2021 02:34
@Marshall Will do! I'm hoping to release the notebook by the end of the weekend. It's fun to mix the HTML parts of JS with BQN's goodness. (example) snpy.in/T1djCR
Feb 21, 2021 02:31
@Marshall Thanks! The reason I'm asking is partially because I've managed to get BQN running in Observable notebooks and was looking for example problems to throw at it
Feb 21, 2021 01:30
Hi! This is pretty basic, but I've been trying to port some APL examples I've found to BQN, and was wondering if someone had advice on improving this FizzBuzz example I've been playing with. I know the APL solution managed to avoid map, but haven't figured out the BQN version that does the same.

(⊐{0=15‿3‿5‿50 | 𝕩}¨(1+↕100))⊏⟨".", "Fizz", "Buzz", "FizzBuzz", "."⟩
Feb 11, 2021 22:42
@Adám Thanks!
Feb 11, 2021 22:40
Hi all, excited to join the chat