Reify debug booleans
This commit is contained in:
@@ -23,4 +23,8 @@ strictify :: Maybe a -> Maybe' a
|
||||
strictify Nothing = Nothing'
|
||||
strictify (Just x) = Just' x
|
||||
|
||||
toggleJust :: Maybe a -> Maybe ()
|
||||
toggleJust Nothing = Just ()
|
||||
toggleJust _ = Nothing
|
||||
|
||||
makeLenses ''Maybe'
|
||||
|
||||
Reference in New Issue
Block a user