Francesco, Thanks. I am using stack and the version doesn't match: `stack ls dependencies` shows `jose 0.9`. I can't seem to find a way to upgrade it even if I set `jose >= 0.10` in the package.yaml file: $ stack build WARNING: Ignoring uhask's bounds on jose (>=0.10); using jose-0.9. Reason: allow-newer enabled. uhask> build (lib + exe) Preprocessing library for uhask-0.1.0.0.. Building library for uhask-0.1.0.0.. [4 of 7] Compiling Modules.JWS ..... <--- Errors about runJOSE not defined $ stack install jose-0.10 No latest package revision found for: jose, dependency callstack: [] Google and SO didn't help so far. Can you suggest something to resolve this? Thanks. ________________________________ From: Beginners <beginners-bounces@haskell.org> on behalf of Francesco Ariis <fa-ml@ariis.it> Sent: Sunday, February 26, 2023 11:55 AM To: beginners@haskell.org <beginners@haskell.org> Subject: Re: [Haskell-beginners] Reproduce example in Crypto.JWT 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 _______________________________________________ Beginners mailing list Beginners@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners