我需要从列表中创建一个包。insert函数确实可以工作,但是我不知道如何继续添加到相同的列表中,而不是我正在做的事情 编辑:可能应该说得更具体些,抱歉。Bag将是数据类型,其中Bag a = [(element, number of occurrences in list)]可能也称为multiset。因此列表2,2,3,4,2,3将变为(2,3),(3,2),(4,1) 我对Haskell和一般的编程都是非常陌生的,所以我再次为我对它的抽象而道歉。
我正在尝试使用select将列表数据类型传递给SPL。我知道在SPL中可以这样定义和设置列表:LET a = LIST{(SELECT unique b from numberTable)execute procedure someProc(LIST{1,2,3});
了解了这两件事后,我想尝试从SELECT为变量创建一个列表。execute procedure someProc(LIST{(SELECT unique b from nu
create multiset volatile table abc_mountain_peak as(a.kkpp_nip as nip,) with data on commit preserve rows;
select) WITH data on commit preserve rows;
DROP qazxsw_asd_1