The Wayback Machine - https://web.archive.org/web/20201024153719/https://github.com/topics/meta-programming
Skip to content
#

meta-programming

Here are 39 public repositories matching this topic...

mailund
mailund commented Feb 4, 2018

It should be possible to change

balance <- function(tree) {
  match(tree,
        T(B,T(R,a,x,T(R,b,y,c)),z,d) -> T(R,T(B,a,x,b),y,T(B,c,z,d)),
        T(B,T(R,T(R,a,x,b),y,c),z,d) -> T(R,T(B,a,x,b),y,T(B,c,z,d)),
        T(B,a,x,T(R,b,y,T(R,c,z,d))) -> T(R,T(B,a,x,b),y,T(B,c,z,d)),
        T(B,a,x,T(R,T(R,b,y,c),z,d)) -> T(R,T(B,a,x,b),y,T(B,c,z,d)),
        otherwise -> tree)
}

Improve this page

Add a description, image, and links to the meta-programming topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the meta-programming topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.