github.com/egonelbre/exp@v0.0.0-20240430123955-ed1d3aa93911/overload/add.template (about)

     1  // +build ignore
     2  
     3  package template
     4  
     5  import g "github.com/egonelbre/exp/overload/template"
     6  
     7  func before(a, b g.Vector) g.Vector { return a + b }
     8  func after(a, b g.Vector) g.Vector  { return a.Add(b) }