Created
April 18, 2014 09:17
-
-
Save bvssvni/11033561 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
data BitVector : Type where | |
MkBitVector : (bits : Integer) -> (value : Integer) -> | |
so (pow 2 (fromIntegerNat bits) > value) -> BitVector | |
test : BitVector | |
test = MkBitVector 2 3 oh | |
-- How do I get information out? | |
-- Does it need more type information, like something after '-> BitVector'? |
edwinb
commented
Apr 18, 2014
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment