-
Notifications
You must be signed in to change notification settings - Fork 1
get
Subhajit Sahu edited this page Jan 24, 2021
·
5 revisions
get x i
-- x: an Int
-- i: bit index
import Bit exposing (..)
get 6 0
-- 0 (110,0 ⇒ 0)
get 6 1
-- 1 (110,1 ⇒ 1)
get 6 2
-- 1 (110,2 ⇒ 1)