[Haskell-cafe] How to use Data.ByteString ?

Brandon S. Allbery KF8NH allbery at ece.cmu.edu
Tue May 19 02:46:56 EDT 2009


On May 19, 2009, at 01:42 , Jason Dagit wrote:
> I've often seen this bit of scary code in VB:
> Dim i as Integer = 5
> If i = "5" Then
>   ' Do something, because 5 = "5"
> End If

Sure, that works in Perl too.  But the equivalent case here would be  
chr$(5), not "5".

-- 
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery at kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university    KF8NH


-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20090519/a87c95bf/PGP.bin


More information about the Haskell-Cafe mailing list