Elliott Stoneham

Results 169 comments of Elliott Stoneham

Also... ```go // Geometry is a Go interface type Geometry interface { Area() float64 // get the area of the shape Perim() float64 // get the perimeter of the shape...

Also... ```go // Measure comment func Measure(g Geometry) { fmt.Println(g) fmt.Println(g.Area()) fmt.Println(g.Perim()) } func measure(g geometry) { fmt.Println(g) fmt.Println(g.area()) fmt.Println(g.perim()) } ``` Generates ```haxe /** // Measure comment **/ function...

@PXshadow the comments need to be written into the Haxe in a way that they get transferred into the documentation xml as well as being available within the code.

Since `Go.asInterface(something)` would apply for all types, that would be preferable. It would also mean that the `Someclass_asInterface` could be removed from the documentation. ;)

That's a disappointment @PXshadow , but unsurprising given past experience. For a generic type, could the code for `.asInterface()` be generated by the compiler when a generic type is instantiated:...

Hi again @gedw99 :D Search & replace is non-trivial because each character can have its own individual glyph positioning, so the plain text "Lexis and grammar — course content" appears...

The Apache PDFBox project have come across exactly the same problem... https://pdfbox.apache.org/2.0/migration.html#why-was-the-replacetext-example-removed

In my code I only call `graph.InitQuadStore()` if I get an error back from `cayley.NewGraph()`.

@AbooJan - an extract from one of my OpenDB functions which returns `(*cayley.Handle, error)` - ``` // Open and use the database gstore, err = cayley.NewGraph(StorePlatform, dir, StoreOptions) if err...

@AbooJan The thing most people get wrong at first is forgetting to blind-import the database driver, please check you've done that. ``` import _ "github.com/cayleygraph/cayley/graph/sql/postgres" ``` Also, please check in...