田舍汉
田舍汉
I have got another usercase. Version checking. It is quite common that different versions of a C lib provide different functions. I think the common pattern in Haskell FFI is...
I am manually copying `.chi` between packages. It works. But requires some manually maintain. I am afraid it would lose sync. Wondering if there is a better way.
Thanks, let me try.
@garetxe I met a simple (seems like) problem. I cannot build the line `instance TypedObject MyData where` when I have imported "Data.GI.Base" and package "haskell-gi-base" depended, with error: ``` Not...
OK. Seems like the final problem. How to specify parent type for my type? What to fill after `type instance ParentTypes MyData =`? It does not work with `'[Object]`, or...
Hum, it does not work. Still gets `No instance for (GObject (GObjectParentType Copied)) arising from a use of ‘registerGType’` ``` newtype Copied = Copied (ManagedPtr Copied) instance TypedObject Copied where...
Cool. Now I need some work on where the object is used.
Thanks. I have done full functions, all thing I have built and ran. The deriving thing sure is a bit of complex. And on code level, I do not know...
github version could not work, either.
I have the same problem at the same place. The environment is a Ubuntu Bionic docker container (with or without privileged), Python 3.6.9, imagededup 0.2.2, tensorflow 1.5.1 and 1.5 (old...