Closed srenatus closed 8 years ago
The ObjectUint
constructor seems to be new. The fix is either to depend on an older version or to add cases in https://github.com/neovimhaskell/nvim-hs/blob/master/library/Neovim/Classes.hs where it makes any sense. I'm going to fix this sometime this weekend or feel free to create a pull request. If you do so, don't forget to add an appropriate lower bound on the messagepack dependency.
Fixed with #45, I suppose. Thanks!
Hi there,
This is a great project, thanks a lot!
Playing with the example code, I've noticed the following: when I
:echo Fibonacci(128)
, it fails withIt's probably Data.MessagePack that uses ObjectUInt for n > 127.
Not that this is a real problem, I suppose (except that it'd be cool to change the 2000 to a 20 in the example code, maybe). But out of curiosity -- how would you fix the function to work with both small and big integers?