[m-users.] Cartesian product of two sets of things.

Sean Charles (emacstheviking) objitsu at gmail.com
Mon Oct 9 21:34:15 AEDT 2023


Nice, I'm stealing that! I will adapt it, and of course your name will be carved in pixels in the ether in a comment in a game that nobody will ever see!

Thanks Volker.

:)


> On 9 Oct 2023, at 10:08, Volker Wysk <post at volker-wysk.de> wrote:
> 
> Am Montag, dem 09.10.2023 um 11:04 +0200 schrieb Volker Wysk:
>> :- pred cart_prod(set(T)::in, set(U)::in, set(pair(T, U))::out) is det.
> 
> Oops, that should be:
> 
> :- pred cart_prod(set(T)::in, set(U)::in, list(pair(T, U))::out) is det.
> 
> Volker
> _______________________________________________
> users mailing list
> users at lists.mercurylang.org
> https://lists.mercurylang.org/listinfo/users



More information about the users mailing list