<div>(take 2 A) ++ B</div><div> </div><div><sign signid="0"><div style="color:#909090;font-family:Arial Narrow;font-size:12px">------------------</div><div style='font-size:14px;font-family:Verdana;color:#000;'><div>李 鹏<br  />四川大学计算机学院</div></div></sign></div><div> </div><div><br></div><div><br></div><div style="font-size: 12px;font-family: Arial Narrow;padding:2px 0 2px 0;">------------------ 原始邮件 ------------------</div><div style="font-size: 12px;background:#efefef;padding:8px;"><div><b>发件人:</b> "mirone"<saul-mirone@qq.com>; </div><div><b>发送时间:</b> 2017年11月4日(星期六) 晚上6:48</div><div><b>收件人:</b> "haskell-cafe"<haskell-cafe@haskell.org>; </div><div><b>主题:</b> [Haskell-cafe] Replace list item with list.</div></div><div><br></div>Hello everyone! <div>If I have a list A : ["x", "y", "z"]</div><div>and a list B: ["f", "g"].</div><div>Here is my question:</div><div>What's the simplest way to replace "z" in the list A by list B, and get ["x", "y", "f", "g"] ?</div><style type="text/css">.qmbox style, .qmbox script, .qmbox head, .qmbox link, .qmbox meta {display: none !important;}</style>