Skip to content
#

traits

Here are 106 public repositories matching this topic...

mdickinson
mdickinson commented Jul 16, 2019

The autogenerated API documentation for Pyface is missing a number of key details because some (many? all?) of its traits are documented with a regular # comment instead of a #: traits doc-comment that can be picked up by the trait documenter. It would be nice to fix that.

The particular instance that I ran into was trying to refer to IEditor.obj from 3rd party documentation (via intersph

cscherrer
cscherrer commented Jan 26, 2020

Hi Taine,

In one of your example, you have

@trait Addable{L, R} begin
    (+) :: [L, R] => Any
    (+) = Base.:+
end

I'd like to do something like this, but avoid the Any. I was thinking something like

@trait Addable{L, R, X} where {X = inferAddable(L,R)} begin
    (+) :: [L, R] => X
    (+) = Base.:+
end

But then I'm having trouble getting the `@i

Improve this page

Add a description, image, and links to the traits 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 traits topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.