Help with tmap in Interlude V #8
Replies: 1 comment 6 replies
-
Hi Brrgrl,
For Interlude V, you have to do:
`(require malt/interlude-V)`
This is also mentioned in the chapter guide on the website, but perhaps we have been remiss in making it more prominent.
The default implementation of flat-tensors implements ext1 and ext2 differently, so we have provided a separate module to allow you to experiment with the code in Interlude V.
|
Beta Was this translation helpful? Give feedback.
6 replies
Answer selected by
brrgrl
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Up to Interlude V, I have been getting by with just having
(require malt)
provide all the tools that I need while building along with the book. However, when I got to usingtmap
it was undefined.My first few passes through the repo, it looks like it's not defined in flat-tensors but it is defined in nested-tensors.
So I'm a little lost.
Defining
tmap
with(define tmap vector-map)
and then trying the example leads toInstead requiring nested tensors
(require malt/nested-tensors)
I get something that worksBeta Was this translation helpful? Give feedback.
All reactions