Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
This module is analogous to RoseTreeTH
,
but we use no Template Haskell here.
Synopsis
- data R a
- value1 :: R Int
- value2 :: R Int
- value3 :: R Int
- type ListCode = '['[], '[I (S Z), I Z]]
- type RTCode = '['[K KInt, I Z], '[K KInt]]
- type CodesRose = '[ListCode, RTCode]
- type FamRose = '[[R Int], R Int]
- testEq :: Bool
- pattern RInt_ :: forall (a :: Nat). () => forall (n :: Nat). (a ~# S n, n ~# Z) => SNat a
- normalize :: R Int -> R Int
- sumTree :: R Int -> Int
- testSum :: Bool