Created
January 25, 2016 15:05
-
-
Save s9gf4ult/b16dce7d1c83b6b910ba 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
| {-# LANGUAGE QuasiQuotes #-} | |
| {-# LANGUAGE DataKinds #-} | |
| module Main where | |
| import Data.Vector.Sized | |
| import Data.Type.Natural | |
| x :: Vector Int [nat| 2 |] | |
| x = 1 :- 2 :- Nil | |
| main :: IO () | |
| main = do | |
| print x |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment