Feature Question: Traversal for Record #540
Replies: 3 comments 3 replies
-
|
In this case, I may have to define |
Beta Was this translation helpful? Give feedback.
-
|
Is it better to use |
Beta Was this translation helpful? Give feedback.
-
|
Well, you will not escape loops if you want to map an array, but the whole point of Dex is to allow you to write out the loops without having to worry that they're going to be inefficient! So if |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
lens of dex is iso like
#foo.https://google-research.github.io/dex-lang/prelude.html#s-42
When define RGB as follows, how do we describe the lens to get
Fin 3 => Fin 8 => Float32of#raxis fromFin 3 => Fin 8 => RGB Float32?Is it possible to use
overFieldto add+1to the#relement?Does dex have traversal of lens?
Beta Was this translation helpful? Give feedback.
All reactions