[Haskell-cafe] What is a Haskell way to implement flags?

Branimir Maksimovic bmaxa at hotmail.com
Tue Feb 19 16:11:04 CET 2013


In C usual way is to set some bit in integer variable by shifting or oring,and than check flag integer variable by anding with particular flag value.What is Haskell way?
Thanks.   		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20130219/2be04338/attachment.htm>


More information about the Haskell-Cafe mailing list