8000 Tags · eunikolsky/podtime · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Tags: eunikolsky/podtime

Tags

v0.7.0

Toggle v0.7.0's commit message
Add basic support for M4A files

v0.6.3

Toggle v0.6.3's commit message
Fix parsing some MP3 files

v0.6.0

Toggle v0.6.0's commit message
Use an options parser and update `README`

v0.5.1

Toggle v0.5.1's commit message
Create program subdirectories in XDG directory with mode 700

v0.5.0

Toggle v0.5.0's commit message
Implement duration caching

dervia_fails_ghci

Toggle dervia_fails_ghci's commit message
[DOESN'T BUILD] Reduce instance boilerplate with lifting transformers'

Note: this works in GHC, but fails to compile with GHCi! This is really
bizarre.

```
~/haskell/podtime/program/LiftMonadModTimeT.hs:14:9-42: error:
    Illegal datatype context (use DatatypeContexts): (forall i.
                                                      Monad i => Monad (t i)) =>
   |
14 | newtype (forall i. Monad i => Monad (t i)) => LiftMonadModTimeT t m a = LiftMonadModTimeT (t m a)
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
~/haskell/podtime/program/LiftMonadDurationT.hs:14:9-42: error:
    Illegal datatype context (use DatatypeContexts): (forall i.
                                                      Monad i => Monad (t i)) =>
   |
14 | newtype (forall i. Monad i => Monad (t i)) => LiftMonadDurationT t m a = LiftMonadDurationT (t m a)
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
```

Enabling `DatatypeContexts` complains about:

```
-XDatatypeContexts is deprecated: It was widely considered a misfeature, and has been removed from the
Haskell language.
```

dervia_fails_ghc

Toggle dervia_fails_ghc's commit message
[DOESN'T BUILD] Reduce instance boilerplate with lifting transformers

Note: this works in GHCi, but fails to compile with GHC!

```
~/haskell/podtime/program/LiftMonadDurationT.hs:15:92: error:
    • Couldn't match kind ‘* -> *’ with ‘*’
      Expected kind ‘* -> * -> *’, but ‘t’ has kind ‘(* -> *) -> * -> *’
    • In the first argument of ‘LiftMonadDurationT’, namely ‘t’
      In the first argument of ‘MonadDuration’, namely
        ‘(LiftMonadDurationT t m)’
      In the instance declaration for
        ‘MonadDuration (LiftMonadDurationT t m)’
   |
15 | instance (MonadDuration m, MonadTrans t, Monad (t m)) => MonadDuration (LiftMonadDurationT t m) where
   |                                                                                            ^

~/haskell/podtime/program/LiftMonadDurationT.hs:15:94: error:
    • Expecting one more argument to ‘m’
      Expected a type, but ‘m’ has kind ‘* -> *’
    • In the second argument of ‘LiftMonadDurationT’, namely ‘m’
      In the first argument of ‘MonadDuration’, namely
        ‘(LiftMonadDurationT t m)’
      In the instance declaration for
        ‘MonadDuration (LiftMonadDurationT t m)’
   |
15 | instance (MonadDuration m, MonadTrans t, Monad (t m)) => MonadDuration (LiftMonadDurationT t m) where
   |                                                                                              ^
```

v0.4.0

Toggle v0.4.0's commit message
Print only up to the last five stats from the log file

v0.3.1

Toggle v0.3.1's commit message
Show the number of episodes and elapsed time in the output

v0.3.0

Toggle v0.3.0's commit message
Persist calculated audio durations in a log file

The program now almost matches the behavior of my current shell alias,
except that the latter prints only 5 latest lines.
0