rethought --relaxed change
Better to make it not be surprising and slow, than surprising and fast. --raw can be used when it needs to be really fast. Implemented adding a youtube-dl supported url to an existing file. This commit was sponsored by andrea rota.
This commit is contained in:
parent
8a0038ec23
commit
2528e3ddb0
7 changed files with 75 additions and 84 deletions
|
@ -87,7 +87,7 @@ instance Observable (Either e Bool) where
|
|||
observeBool (Right b) = b
|
||||
observeFailure = Right False
|
||||
|
||||
instance Observable (Either e (Maybe a)) where
|
||||
observeBool (Right (Just _)) = True
|
||||
observeBool _ = False
|
||||
observeFailure = Right Nothing
|
||||
instance Observable (Maybe a) where
|
||||
observeBool (Just _) = True
|
||||
observeBool Nothing = False
|
||||
observeFailure = Nothing
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue