[Haskell-cafe] Need help to get started with GHC.Generics

Henning Thielemann lemming at henning-thielemann.de
Fri Sep 11 16:29:26 UTC 2020


On Thu, 10 Sep 2020, Li-yao Xia wrote:

> Hi Compl,
>
> From my limited understanding of your problem, you might be looking for 
> techniques revolving around "variadic functions", that is "functions 
> with variable number of arguments". I don't have any concrete resources 
> to point to, but it's a pretty recurrent topic of discussion. Below are 
> two relevant Q&A on Stack Overflow to start from [1,2]; you might find 
> especially interesting ideas from reading the implementation of 
> Text.Printf [3] and looking for other explanations of it online.

Another famous variadic function is quickCheck.


More information about the Haskell-Cafe mailing list