RosettaCodeData/Task/Flow-control-structures/Jq/flow-control-structures.jq
2017-09-25 22:28:19 +02:00

2 lines
102 B
Text

# Emit at most one item from the stream generated by g:
def first(g): label $out | g | ., break $out;