#test nonempty-case-long
func =
case
lakjsdlajsdljasdlkjasldjasldjasldjalsdjlaskjd
lakjsdlajsdljasdlkjasldjasldjasldjalsdjlaskjd
of
False -> False
True -> True
#test nonempty-case-long-do
func = do
case
lakjsdlajsdljasdlkjasldjasldjasldjalsdjlaskjd
lakjsdlajsdljasdlkjasldjasldjasldjalsdjlaskjd
of
False -> False
True -> True
For do we obviously need this indentation behaviour, otherwise syntax error. But for contexts where we are allowed to "stay on the current column", this would be nicer:
func =
case
lakjsdlajsdljasdlkjasldjasldjasldjalsdjlaskjd
lakjsdlajsdljasdlkjasldjasldjasldjalsdjlaskjd
of
False -> False
True -> True
unfortunately, afaict, this is a problem in the DSL implementation, not in the layouter. Will involve some digging.
from the current test-cases:
For
do
we obviously need this indentation behaviour, otherwise syntax error. But for contexts where we are allowed to "stay on the current column", this would be nicer:unfortunately, afaict, this is a problem in the DSL implementation, not in the layouter. Will involve some digging.