« first day (2675 days earlier)      last day (19 days later) » 

7:10 AM
0
Q: Map over a list of lists of arbitrary depth in Haskell

lanfOne can map over a list of lists of arbitrary depth as follows: map :: (a -> b) -> [a] -> [b] (map.map) :: (a -> b) -> [[a]] -> [[b]] (map.map.map) :: (a -> b) -> [[[a]]] -> [[[b]]] Is it possible to write a single function handling all such cases? Uiua has the ∵ each func...

 
 
7 hours later…
2:36 PM
Announcement: BAA Vector Webinar in 25 mins.
 

« first day (2675 days earlier)      last day (19 days later) »