On Mon, Feb 9, 2015 at 9:56 AM, Keean Schupke <[email protected]> wrote:

> Terminology: In the list comprehension the result and the input
> collections are all lists.
>

So what kind of comprehension is the example I gave:

[ c | c <- s : String ]


because it seems to me that the input here is a String and the output is a
list of characters. Is this a string comprehension, a list comprehension,
or some third thing?

It must seem like I'm being obtuse. I'm truly just trying to make sure I
understand how the terms should be used.


shap
_______________________________________________
bitc-dev mailing list
[email protected]
http://www.coyotos.org/mailman/listinfo/bitc-dev

Reply via email to