diff options
Diffstat (limited to 'utils.hs')
| -rw-r--r-- | utils.hs | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -44,3 +44,6 @@ count pred xs = xs $> filter pred .> length takeUntil :: (a -> Bool) -> [a] -> [a] takeUntil _ [] = [] takeUntil p (x : xs) = x : if p x then takeUntil p xs else [] + +fromSymEither (Left x) = x +fromSymEither (Right x) = x
\ No newline at end of file |
