Safe Haskell | None |
---|---|
Language | Haskell2010 |
- type family HyloConstructor v
- class Show v => HyloPrim v where
- class Show a => HasX a
- class HasX a => HasY a
- class HasY a => HasZ a
- class HasZ a => HasW a
- data Vec1 where
- Vec1 :: Float -> Vec1
- V1u :: String -> Vec1
- V1uop :: String -> Vec1 -> Vec1
- V1uoppre :: String -> Vec1 -> Vec1
- V1bop :: String -> Vec1 -> Vec1 -> Vec1
- V1boppre :: String -> Vec1 -> Vec1 -> Vec1
- V1select :: Booly -> Vec1 -> Vec1 -> Vec1
- X :: HasX a => a -> Vec1
- Y :: HasY a => a -> Vec1
- Z :: HasZ a => a -> Vec1
- W :: HasW a => a -> Vec1
- data Vec2 where
- data Vec3 where
- data Vec4 where
- Vec4 :: (Vec1, Vec1, Vec1, Vec1) -> Vec4
- V4u :: String -> Vec4
- V4uop :: String -> Vec4 -> Vec4
- V4uoppre :: String -> Vec4 -> Vec4
- V4bop :: String -> Vec4 -> Vec4 -> Vec4
- V4boppre :: String -> Vec4 -> Vec4 -> Vec4
- V4bops :: String -> Vec1 -> Vec4 -> Vec4
- V4select :: Booly -> Vec4 -> Vec4 -> Vec4
- Texture2D :: Texture -> Vec2 -> Vec4
- data Texture where
- data Booly where
Documentation
type family HyloConstructor v Source
Darn I need injective type families.. waiting for GHC8
HyloConstructor Vec1 = Float | |
HyloConstructor Vec2 = (Vec1, Vec1) | |
HyloConstructor Vec3 = (Vec1, Vec1, Vec1) | |
HyloConstructor Vec4 = (Vec1, Vec1, Vec1, Vec1) |
Vec1 :: Float -> Vec1 | |
V1u :: String -> Vec1 | |
V1uop :: String -> Vec1 -> Vec1 | |
V1uoppre :: String -> Vec1 -> Vec1 | |
V1bop :: String -> Vec1 -> Vec1 -> Vec1 | |
V1boppre :: String -> Vec1 -> Vec1 -> Vec1 | |
V1select :: Booly -> Vec1 -> Vec1 -> Vec1 | |
X :: HasX a => a -> Vec1 | |
Y :: HasY a => a -> Vec1 | |
Z :: HasZ a => a -> Vec1 | |
W :: HasW a => a -> Vec1 |
Vec2:
Vec3:
Vec4:
Vec4 :: (Vec1, Vec1, Vec1, Vec1) -> Vec4 | |
V4u :: String -> Vec4 | |
V4uop :: String -> Vec4 -> Vec4 | |
V4uoppre :: String -> Vec4 -> Vec4 | |
V4bop :: String -> Vec4 -> Vec4 -> Vec4 | |
V4boppre :: String -> Vec4 -> Vec4 -> Vec4 | |
V4bops :: String -> Vec1 -> Vec4 -> Vec4 | |
V4select :: Booly -> Vec4 -> Vec4 -> Vec4 | |
Texture2D :: Texture -> Vec2 -> Vec4 |