- Notifications
You must be signed in to change notification settings - Fork 81
Open
Description
search :: Matrix [Digit] -> [Grid] search cm | not (safe pm) = [] | complete pm = [extract pm] | otherwise = concatMap search (expand1 pm) where pm = prune cm
Indenting the block above with Vip=
would result with the faulty:
search :: Matrix [Digit] -> [Grid] search cm | not (safe pm) = [] | complete pm = [extract pm] | otherwise = concatMap search (expand1 pm) where pm = prune cm
Either getting rid of the guards
or not separating where
part into multiple lines would lead to correct behavior.
seasonedfish
Metadata
Metadata
Assignees
Labels
No labels