Streams and Pipelines
- Q235: What stream operations are available in EK9?
- Q236: How do I create a custom iterator so my type works with cat and for-in?
- Q237: When should I use a stream pipeline vs a loop in EK9?
- Q812: What are common stream pipeline errors in EK9?
- Q813: How do call and async work in EK9 stream pipelines?
- Q824: Why must stream functions have exactly one parameter in EK9?
- Q842: Why does streaming non-function values through call fail with E04040?
- Q843: Why must functions used with stream call/async return a value?
- Q844: Why must functions used with stream call/async take no arguments?
- Q857: Why does stream split require a function or delegate?
- Q866: Why must functions used with stream call return a value?
- Q867: Why must functions used with stream call take zero arguments?
- Q885: Why does EK9 report E06330 when using a function with the wrong type in a stream pipeline?
- Q891: Why must I sort before grouping in an EK9 stream pipeline?
- Q896: How do I output stream results to stdout in EK9?
- Q928: Why can't I use a void function in a stream pipeline in EK9?
- Q929: How do filter and sort work together in EK9 streams?
- Q930: How do I transform stream elements and take the first N in EK9?
- Q931: What do tail and skip do in EK9 stream pipelines?
- Q954: How do I use collect as to accumulate stream items into a custom type in EK9?
- Q970: How do I output stream results to stdout or a collection in EK9?
- Q977: How do I filter a list and print the results to stdout in EK9?
- Q978: How do I transform items and collect the results in EK9?
- Q979: How do I sort a stream and take the top N items in EK9?
- Q980: How do reject and tee work in EK9 stream pipelines?
- Q987: What does this stream pipeline do? Trace the data flow step by step.
- Q988: Review this EK9 code. Should the loop be a stream pipeline instead?
- Q989: How do I group items and then flatten them back in an EK9 stream?
- Q990: I need to find the cheapest item in each category. How would I approach this in EK9?
- Q1002: Show me the simplest possible stream pipeline that outputs to stdout in EK9.
- Q1017: When should I use a stream pipeline instead of a loop in EK9?
- Q1018: How do I compose multiple stream operations into a reusable pipeline in EK9?
- Q1034: Write a function that transforms a list of names to uppercase.
- Q1035: Write code to filter a list and collect the results into a new list.
- Q1073: How do I sort a stream in descending order in EK9?
- Q1134: Filter positive numbers, double them, and sort the result.
- Q1135: Sort a list of Item records by price and collect the sorted result.
- Q1136: Collect filtered stream results into a new List.
- Q1137: Remove duplicate integers from a list using sort and uniq.
- Q1138: Take the first 3, last 2, and skip the first 2 items from a list.
- Q1139: Sum a list of integers using join with an addition function.
- Q1140: Capture intermediate sorted results into a side list using tee.
- Q1141: Filter a list of fruit names to those longer than 4 characters, then uppercase them.
- Q1142: Sum the prices of all products over 20 using a stream pipeline.
- Q1143: Take the first 3 positive numbers from a mixed list.
- Q1144: Filter a list to items that are both positive and even.
- Q1145: Print all items from a list directly to stdout using a pipeline.
- Q1197: How do I sort a list of dates in ascending order using a stream pipeline?
- Q1199: Sort a list of Meeting records by date then by time using a stream pipeline.
- Q1203: Filter a product list to items over 50 USD and sort by price ascending.
- Q1233: Process a list of optional sensor readings and select the minimum using stream join with <?.
- Q1301: Why can't I sort or group a stream from Stdin, UDP or a TCP connection?
- Q1345: Why does my stream 'head' fail when I give it a Date variable instead of an Integer or a function?