list_to_bit_array


list_to_bit_array(xs)
      

Return a bit array initialized from the list of integers xs.

Examples:


list_to_bit_array([1, 2, 3])
// #b[1, 1, 1]
list_to_bit_array([1, 0, 3])
// #b[1, 0, 1]
      

Also see:

bit_array_to_list


Core Module Index | Contents