Minor syntax detail.

dev
Philippe Pittoli 2024-03-01 16:02:54 +01:00
parent e893a6dca2
commit 7593702398
1 changed files with 4 additions and 3 deletions

View File

@ -566,9 +566,10 @@ handleAction = case _ of
SPF_Qualifier v -> H.modify_ _ { spf_qualifier = maybe "none" id $ qualifier_types A.!! v }
SPF_remove_mechanism i ->
H.modify_ \s -> s { _currentRR { mechanisms = case s._currentRR.mechanisms of
Just ms -> Just (remove_id i $ attach_id 0 ms)
Nothing -> Nothing
} }
Just ms -> Just (remove_id i $ attach_id 0 ms)
Nothing -> Nothing
}
}
SPF_Mechanism_Add -> do
state <- H.get