Snippets tagged bit shifting

  • Convert booleans to bits using fold

    @Samuel - saw your post and thought one part was similar to bit shifting I was playing with yesterday, so rewrote the FromBooleans function using a fold instead of ref cells. Probably not as readable as your version though :)

    2 people like this

    Posted: 2 years ago by Chris Ballard