clash-prelude-0.10.14: CAES Language for Synchronous Hardware - Prelude library

Copyright(C) 2016, University of Twente
LicenseBSD2 (see the file LICENSE)
MaintainerChristiaan Baaij <christiaan.baaij@gmail.com>
Safe HaskellTrustworthy
LanguageHaskell2010

CLaSH.Sized.RTree

Description

 

Documentation

data RTree :: Nat -> * -> * where Source

Constructors

LR :: a -> RTree 0 a 
BR :: RTree n a -> RTree n a -> RTree (n + 1) a 

tfold :: forall p k a. KnownNat k => Proxy (p :: TyFun Nat * -> *) -> (a -> p $ 0) -> (forall l. SNat l -> (p $ l) -> (p $ l) -> p $ (l + 1)) -> RTree k a -> p $ k Source