Chris Llanwarne

Results 34 comments of Chris Llanwarne

We could also have a `remove_newlines(multiline_string)` to replace the "we remove all newlines by default" behavior currently proposed

Coming from scala might be distorting my sense of "what people expect" w.r.t. newlines in multi-line strings. Usually the "what would people expect" tie-breaker in cases of different aesthetic preferences...

As far as I can tell, python also preserves newlines in multi-line string literals (https://www.techbeamers.com/python-multiline-string/). Unless there's a really strong case against it, I think that should be what we...

I'd argue with your premise there though that the most common use case is "I want to split a single line string across many lines". I think the most common...

Agreed! An n > 2 is always a good idea...

I really worry about strings like ``` String command_prefix = """echo hi \ | grep foo \ | wc -l""" ```

Those ideas all sound reasonable to me.

I do like that java text block spec's interpretation of "intrinsic whitespace", which matches very closely the `command` block behavior.

@geoffjentry this thought was actually keyed off your recent comments about making WDL less complex. To me this is a classic case of WDL being needlessly picky about syntax to...

I assume your item (1) is referring to outputs from a task (rather than in the middle of a workflow)?