开发者

Haskell List of List problem

开发者 https://www.devze.com 2023-02-19 16:37 出处:网络
Im trying to change a particular particular list in a list of lists, Ive already defined the function which changes the list. But im not sure how to go about implementing this function into another fu

Im trying to change a particular particular list in a list of lists, Ive already defined the function which changes the list. But im not sure how to go about implementing this function into another function which changes that part of the list in a list of lists

The function im trying to define is in the form [[a]开发者_运维问答] -> a -> [[a]] where a defines the part in the list of lists in trying to change


You need something like

map (map yourchangeFunction) yourdata

if I understand your question correctly.

0

精彩评论

暂无评论...
验证码 换一张
取 消