2min chapter

The Array Cast cover image

Fold and Scan

The Array Cast

CHAPTER

How to Do a Scan That Matches APL in J

I was hoping to be able to do with the J fold though so like the capital F and then insert daughter colon or whatever sequence you need. That's how I saw that in BQN and in other languages. So just with that without a reduction at the end without without without like without two separate without a scan and a reduction just just with the fold. And it seemed like there was a possibility that the fold in J could do it all at once because it had sort of two arguments. Yeah, you always have to do a reduction. Well so that's what I was. The folding direction is right to left. And also your your outer suffix is direction isright to left.

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode