# apply g first and then f def compose(f; g): g | f;