Here is an example:
do
d1 $ "cp"
d2 $ stack [
"bd",
"sd"
]
If you tried to execute the whole do-block in Pulsar, it wouldn’t parse due to the multi-line d2. I’ve tried both parentheses and curly braces but neither does what I want.
Here is an example:
do
d1 $ "cp"
d2 $ stack [
"bd",
"sd"
]
If you tried to execute the whole do-block in Pulsar, it wouldn’t parse due to the multi-line d2. I’ve tried both parentheses and curly braces but neither does what I want.
It's just a minor error! You have to also indent the closing square bracket:
do
d1 $ "cp"
d2 $ stack [
"bd",
"sd"
] -- here, indented after the d2 statement