[erlang-questions] custom generators?
Karlo Kuna
kuna.prime@REDACTED
Fri Jun 29 01:40:20 CEST 2018
qlc table seems like answer i was looking for
thank you fred
On Fri, Jun 29, 2018 at 1:31 AM Fred Hebert <mononcqc@REDACTED> wrote:
> On 06/29, Karlo Kuna wrote:
> >i was wandering is there protocol or "interface" for making custom
> >generators in erlang? here i asume generator can be used in list
> >comprehensions
> >
> >something similar to I/O protocol
>
> List comprehensions operate only on lists and binaries (using the
> '<<BytePattern>> <= Bin' generator instead of `Pattern <- List'). The
> closest thing you could get is likely QLC:
> http://erlang.org/doc/man/qlc.html
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20180629/257bbfca/attachment.htm>
More information about the erlang-questions
mailing list