2 people like it.
Like the snippet!
@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 :)
1: 2: 3: 4: 5: 6: |
|
Link: | http://fssnip.net/nd |
Posted: | 10 years ago |
Author: | Chris Ballard |
Tags: | bit shifting , fold |