[Haskell-beginners] Reproduce example in Crypto.JWT

Francesco Ariis fa-ml at ariis.it
Sun Feb 26 10:55:39 UTC 2023


Ciao Pietro,

Il 26 febbraio 2023 alle 09:26 Pietro Grandinetti ha scritto:
> I am try to reproduce the first example here: https://hackage.haskell.org/package/jose-0.10/docs/Crypto-JWT.html
> I can't seem to succeed with importing the function `runJOSE`
> 
> ghci> import Crypto.JWT
> ghci> :t runJOSE

I `cabal get` jose-0.10, `cabal repl` and then

    λ> import Crypto.JWT
    λ> :t runJOSE
    runJOSE :: JOSE e m a -> m (Either e a)

I would check if you the latest jose, and what :browse Crypto.JWT says
—F



More information about the Beginners mailing list