Burning more bridges (mostly numeric ones)

Tom Ellis tom-lists-haskell-cafe-2013 at jaguarpaw.co.uk
Sun Mar 23 18:16:17 UTC 2014


On Sun, Mar 23, 2014 at 01:50:43AM -0700, Bart Massey wrote:
> >>>> :m + Numeric.Lens Control.Lens
> >>>> "7b" ^? hex
> > Just 123
> >>>> hex # 123
> > "7b"
> 
> Nice. Once this really becomes standard, I guess we'll be somewhere.

Unless there's some way I'm unaware of to statically verify that the string
indeed represents a valid hex encoding, then this is still not a complete
solution.

Tom


More information about the Libraries mailing list