r/purescript • • Feb 04 '16

purescript-colors

http://sharkdp.github.io/purescript-colors/
7 Upvotes

17 comments sorted by

View all comments

Show parent comment

1

u/hdgarrood Feb 09 '16

The reason it doesn't return an Int is that you might want an integral value outside the 32 bit range. Come to think of it we should probably add a version that does return Int to purescript-integers.

Number.toString might just be the Show Number instance. Not sure.