sanctuary-js / sanctuary

:see_no_evil: Refuge from unsafe JavaScript
https://sanctuary.js.org
MIT License
3.03k stars 94 forks source link

use `String` rather than `show` to test type signatures #734

Closed davidchambers closed 6 months ago

davidchambers commented 6 months ago

Currently, when S.show is applied to a function it just invokes the function's toString method. This is no longer the case for show as a result of sanctuary-js/sanctuary-show#15. This pull request switches to String for testing type signatures, paving the way for upgrading the sanctuary-show dependency.