f-o-a-m / purescript-web3

a purescript library for the web3 api
Apache License 2.0
127 stars 24 forks source link

Remove dependency on StringLike class #154

Closed martyall closed 2 years ago

martyall commented 2 years ago

NB Most of the diff here is from running purty. We should really be enforcing that purty is clean on merge to master. The only real change is in this file and then updating everywhere we use that.

The only place where we have this dependency is https://pursuit.purescript.org/packages/purescript-parsing/6.0.2/docs/Text.Parsing.Parser.String#v:anyChar

This really didn't make any sense anyway because it makes no sense to take a char from a HexString, you can only take bytes which means taking two Chars at a time. This PR corrects this problem, and allows for us to upgrade to purescript-parsing v7.0.0 whenever we update the underlying purescript-eth-core lib