[erlang-questions] custom generators?
Fred Hebert
mononcqc@REDACTED
Fri Jun 29 01:31:51 CEST 2018
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
More information about the erlang-questions
mailing list